12-09-2010 01:14 PM
I am having troubles with a Digi Neo PCIe 4p serial card.
My labVIEW code opens a port on the card, writes to the port, and close the port. The first time I do this on a given port it works, However, when I call this subVI a second time the command fails. No error message is given. In an attempt to debug, I commented out the open and close vi's and the command works every time. This is non ideal because it doesnt allow me to set the baud rate etc.
Is there a known driver issue with these cards?
Would upgrading to a newer version of VISA fix this? I am hesitant to do so because I have 5 machines that I want to keep identical hardware/software on.
System:
Dell Rack Mount PC
(2) Digi Neo PCIe 4 port Serial Cards
- digi driver version 8.1.22.0 (11/6/2007)
Windows XP SP3
LabVIEW Runtime 9 SP1
ATEasy RunTime v8 build 145a
NIDAQmX 9.0.2
NI 488.2 2.73
NIVISA 4.6.2
Thanks,
Adam
12-10-2010 04:42 PM
Hi Adam,
Can you attach your LabVIEW code please so I can take a look?
12-13-2010 09:09 AM
Not much to show here. The RTR-2 Serial VAR.vi is just a VISA reference output (using an uninitialized shift register) for the port used.
As stated previously, the code works on first run only with the disabled blocks active. This leads me to believe the Neo card is not accepting the Serial Open function (but not returning an error either).
12-14-2010 04:26 PM
Hi Adambe,
I looked into your code and it is not apparent to me where you are setting your port number. Can you clarify this? Also, What happens when you run in highlight execution? Do you see any errors?