Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to emulate a PCI-6602 in SW?

I am writing software for a system that uses a PCI-6602.  I built the primary controller and it is out for demo, but I need to make a mod to the software.  I need to read and write to the general purpose digital lines, but I failed to do so on my first attempt.  I set up channels for the lines that I care about in MAX, and tested them there with success.  I tried to use those channel names in the "Read From Digital Line.vi" and "Write to Digital Line.vi" and I keep getting errors indicating that that my configuration is not correct "Error - 10001 occurred at DIO Port Config."
 
I tried to follow the example that used the "Port Config.vi" with a mask bit and the "Port Write.vi", but I did not get the expected results.  
 
Since my hardware is only remotely accessable I would like to emulate the 6602 in software to determine if I am setting the correct bits.
 
Alternatively, if there are any suggestions for using the auxilliary digital I/O lines on the PCI-6602 from LabView I would be very glad to hear it.
 
Thanks. 
0 Kudos
Message 1 of 2
(3,367 Views)

Hi,

It sounds like using a simulated device will help to resolve some issues that you are seeing. More information on simulated devices can be found here. While it is not a complete emulation it will allow for you to test that your configuration is correct, which seems to be the cause of your error. The error that you are receiving is often caused by an incorrect input string when configuring your DAQ device more information as well as troubleshooting steps can be found in this knowledgebase article. I hope this helps!!

JaceD
Signal Sources Product Support Engineer
National Instruments
0 Kudos
Message 2 of 2
(3,354 Views)