07-25-2007 01:37 PM
07-26-2007 07:01 PM
Hi Peter,
I took a look at the VIs, and have tried to think about what is different between the two VIs that could explain why one works and one doesn't. In TestRead.vi, I think that we can safely say that the DataSocket part of the application is not the problem. Since not even the line state indicator is showing any changes, we can probably assume that the problem is with the Read from Digital Line VI.
Offhand I don't see any problems with the code. However, when I have one program that's working and one that isn't, I usually try to modify the one that is not working to be as similar as possible to the one that IS working. This could be a shot in the dark, but have you tried seeing what happens when you don't wire anything to the device and/or port width inputs of the Read from Digital Line subVI, as you have in 2007N15.vi?
It seems like this must be a programming problem, and not a hardware problem, since everything works fine with the other VI.
07-27-2007 11:54 AM
Thank you, Elisabeth, for taking a look at this issue.
Yes, I have tried before not wiring anything to the inputs, as in the 2007N15 vi. I have also tried wiring other values (e.g., port width 16) to the vi, but the behavior was always the same. I am also convinced that it is not a data socket problem, particularly because the 2007N15 vi also uses data socket and the same channels.
I would be interested to know whether this issue can be reproduced on a different PXI 1010 system, or whether it is just my instrument.
Regards, Peter
07-31-2007 09:01 AM
Hi Peter,
I stripped the VI down to the minimum functionality that should still reproduce the problem. Does the attached subVI correctly read the relay states?
07-31-2007 09:01 AM
07-31-2007 12:00 PM
Sorry. Can't open it. I have LV7.0. Looking forward to trying this out.
Peter
08-01-2007 09:44 AM
Hi Peter,
Sorry about that. I saved it for 7.0. Here it is.
08-01-2007 01:17 PM
08-02-2007 10:09 PM
08-03-2007 03:38 PM