Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug Report for Enable DMA Interrupt (Cluster) Multi.vi #11

Open
SallyTYT opened this issue Jun 25, 2021 · 3 comments
Open

Bug Report for Enable DMA Interrupt (Cluster) Multi.vi #11

SallyTYT opened this issue Jun 25, 2021 · 3 comments

Comments

@SallyTYT
Copy link

VISA Open VI for MEMACC resource -- "duplicate session" option shall be set as TRUE.

Otherwise, when using multiple boards, the followed VISA Map Address VI will report error -1073807232 (VI_ERROR_WINDOW_MAPPED).

image

image

@CyGaNeo
Copy link

CyGaNeo commented Jul 8, 2021

Hi SallyTYT,
Just faced this issue today on a PXI LinuxRT x64.
Did this happen to you on a PharLap or LinuxRT OS ?

Also, I only have one reflective memory in my chassis.
Is this need for duplicating session reaaly applies in that case ?
Can the PXI0::MEMACC ressource be reserved by any other app ?

Also I noticed than if an error occurs during th CD life, this ressource releasing might not be applied.
Therefore, re-running the code after that might be seen by VISA as duplicate session.

@SallyTYT
Copy link
Author

SallyTYT commented Jul 8, 2021

Hi @CyGaNeo ,

Just faced this issue today on a PXI LinuxRT x64.
Did this happen to you on a PharLap or LinuxRT OS ?

I tested on both PharLap and LinuxRT, the issue occurred on both.

Also, I only have one reflective memory in my chassis.
Is this need for duplicating session reaaly applies in that case ?
Can the PXI0::MEMACC ressource be reserved by any other app ?

PXI0::MEMACC is used to apply for system RAM resource. I think it shall be able to be used by any thread.

Also I noticed than if an error occurs during th CD life, this ressource releasing might not be applied.
Therefore, re-running the code after that might be seen by VISA as duplicate session.

To solve this issue, you can find the RT Driver VI.vi and disconnect the error input terminal of GE5565 Disable DMA Interrupt (Cluster) mod.vi

@CyGaNeo
Copy link

CyGaNeo commented Jul 12, 2021

I confirm it works when the duplication is authorized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants