11-30-2010 12:46 PM
Hello!I have a fully operational Real-time system with a host PC and a PCI target.I have wrote several programs which functioning perfecly(in CVI).So the problem is when i want to use the CVIRTSup fuctions like init(initialization) or read ,the compailer drops an error:undefinied function.I have the CVIRTSup dir. at the CVI folder have the header files ,so it's on my comp.I dont get it why i can't use any functions from this folder.If someone could write a few lines from a working code i would be thankful.(about shared memory useing at CVI).
Note tahat after hours of search i haven't find any usefull posts about Shared memory useing in CVI.Only a note that says:"Caution This function makes a call to LoadLibrary. If you create a DLL that interfaces with CVIRTSup.dll, National Instruments recommends that you do not call this function from within DLLMain."
So it means i can't use any CVIRTSup functions at the RTmain source code?Than how can i use it?
12-14-2010 07:30 AM
Hi
have You checked those pages?
http://zone.ni.com/devzone/cda/tut/p/id/3663
http://zone.ni.com/devzone/cda/tut/p/id/3066
http://zone.ni.com/reference/en-XX/help/372398C-01/cvirtmodulehelp/avoiding_shared_resources
http://zone.ni.com/devzone/cda/tut/p/id/4583#toc2
Hope You will find help there
Best regards
Barbara