LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Get a GPF Fault on CVIRTSup_ReadShort()

Using CVI app to interface with LabViewRT app on a PCI-7030 RT board. Occasionally, I get a GPF on the Read functions from cvirtsup.fp.

The application works most of the time, I'm guessing its a timing issue where RT app is writing memory when CVI app tries to read. How do I manage a semaphore (or similar) to avoid this? Or is there something else?
0 Kudos
Message 1 of 3
(3,021 Views)
Hi kamathews,

I am not familier with the ReadShort function. Here is a KnowledgeBase on Reading and Writing shared memory of the PCI-7030. It includes an example program.

http://digital.ni.com/public.nsf/websearch/f32b5fe9bfa0fb41862568e4004c9bb1?OpenDocument

Regards,

Chad Evans
0 Kudos
Message 2 of 3
(3,021 Views)
thanks for the link. I've done some more testing since my post with the following results: The cvirtsup.fp methods seem to work fine, in fact in the runtime mode I've not had a problem yet (2 days/intermittent testing). It's only in the development mode that I have problems, specifically, about half the time I get a GPF when I first start the program in debug mode. I can usually start it a second time with no problem and it then runs fine (testing runs don't usually proceed more than 30-45 minutes at a time).
It seems more a minor nuisance since it only occurs in debug mode, just wondered if anyone else had experience with this library.
0 Kudos
Message 3 of 3
(3,021 Views)