05-07-2009 12:20 PM
I have a cRIO-9073 controller chassis with 8 NI 9237 modules. I plan to use FPGA reads - not the scan engine. Can I detect whether a module is present or not within my FPGA VI? If not, is there a way to do this within the RT Host VI? (This is my first cRIO project so I'm still a bit green). I can foresee my client needing to replace a module sometime in the future and still needing to operate the system with the remaining modules - so the system must be robust and adaptible to fault conditions.
- Thanks in advance
- Tore
Solved! Go to Solution.
05-07-2009 12:54 PM
Hi TJohnsen,
Yes you can use this set of VIs: http://zone.ni.com/devzone/cda/epd/p/id/1717
Hope this helps.
Kurt
05-07-2009 02:18 PM
Thanks, this helps!
Looking at the source code for the FPGA VI made it all clear. Just needed to place FPGA I/O property nodes linked to each module, then choose to return the Module ID Property. A note to anyone else reading this: According to the documentation it appears that the Model ID may return a non-zero value the first time it is read after a module has been removed.
- Tore
Hi TJohnsen,
Yes you can use this set of VIs: http://zone.ni.com/devzone/cda/epd/p/id/1717
Hope this helps.
Kurt
10-27-2014 11:57 AM
The link is dead, anybody have an updated link?
Thank you.
Cheers
--------, Unofficial Forum Rules and Guidelines ,--------
'--- >The shortest distance between two nodes is a straight wire> ---'
10-28-2014 10:05 AM
Hello James,
Try this library of VI's and let me know if they do what you would like:
http://www.ni.com/example/51852/en/
Thanks!
10-28-2014 11:13 AM
Thanks, Dragon!
Cheers
--------, Unofficial Forum Rules and Guidelines ,--------
'--- >The shortest distance between two nodes is a straight wire> ---'
10-29-2014 01:28 PM
So actually, I'm having a problem now. I just use FindSystems.vi, but am throwing this error when I use Run as Startup on the cRIO:
-2147220620, Source: nisyscfg.lvlib:Find Systems.vi:1750001<APPEND>
<b>Complete call chain:</b>
nisyscfg.lvlib:Find Systems.vi:1750001
I do not get this error, however, when running the RT VI in developer mode. I've made sure the cRIO has everything installed and up to date, so that's not the problem. I also forced the nisyscfg.dll to be included in the support directory.
Is there something else I can try?
Cheers
--------, Unofficial Forum Rules and Guidelines ,--------
'--- >The shortest distance between two nodes is a straight wire> ---'
10-30-2014 01:59 PM
Hello James,
In newer versions of LabVIEW Real-Time, the System Configuration VI's should be included. If you have the Real-Time module installed, on you block diagram, try going to Real-Time >>Utilities >> System Configuration >> FindHardware.vi and see if this produces different results from the other System Configuration VI's. Try these and see if they produce the same results. I found the same error code you found but, unfortunately, it was part of a Create Action Request filed for DAQmx 9.4 Another thing you could try is updating your DAQmx version. Feel free to share other specifications such as your OS, LabVIEW version, LabVIEW RT version, cRIO, etc.
Thanks!
10-30-2014 03:51 PM
I switched to the Find Hardware VI and it doesn't error, but what I need is network devices. I have expansion chassis on the network that I need to confirm are connected. The Find Hardware VI only lists off local devices. I asked about the error over at this topic here:
Thanks,
Cheers
--------, Unofficial Forum Rules and Guidelines ,--------
'--- >The shortest distance between two nodes is a straight wire> ---'
10-31-2014 07:54 AM
Hello James,
What operating system are you using and what cRIO are you attempting to connect to?
Thanks,