AKA Posted April 18 Share Posted April 18 (edited) After starting the VI MSO/1 reads correct output but MSO/2 is reading noise. After I disconnect the header and reconnect it, the output fixed itself. This same code works for AD2 but when I use AD3 I have to re-plug the header. Edited April 18 by AKA Link to comment Share on other sites More sharing options...
1 AKA Posted April 18 Author Share Posted April 18 (edited) Hi @attila I am using 20pin to 20pin jumper cable, so I had to reconnect all of them together. I just figured out the problem is the digital I/O. (I am controlling relay using source drive + DIO) The reading is bad because only one channel of the relay switched. My suspicion is the drive strength on AD3(default 4mA), where AD2 had 12mA as default. **Is there any way to set DIO drive through LabView? Edited April 18 by AKA Link to comment Share on other sites More sharing options...
1 attila Posted April 18 Share Posted April 18 Hi @AKA The DIO drive on AD2 is 4mA. On AD3 is by default 4mA but can be adjusted with C API FDwfDigitalIODriveSet Link to comment Share on other sites More sharing options...
1 AKA Posted April 19 Author Share Posted April 19 Hi @attila I manage to fix it by adding time delay between PWS power-on and DIO. Not sure the problem is, but it has to do with power/IO timing. Much appreciation for your help. Link to comment Share on other sites More sharing options...
0 attila Posted April 18 Share Posted April 18 Hi @AKA What header are you reconnecting ? Link to comment Share on other sites More sharing options...
0 Tadashi199 Posted April 19 Share Posted April 19 4 hours ago, AKA said: Hi @attila I manage to fix it by adding time delay between PWS power-on and DIO. Not sure the problem is, but it has to do with power/IO timing. Much appreciation for your help. Thank you @AKA . I was having a similar problem myself but the delay fixed it ! Edit by JColvin: deleted the mass slew of duplicate posts. Uncertain of the cause. Link to comment Share on other sites More sharing options...
Question
AKA
After starting the VI MSO/1 reads correct output but MSO/2 is reading noise.
After I disconnect the header and reconnect it, the output fixed itself.
This same code works for AD2 but when I use AD3 I have to re-plug the header.
Link to comment
Share on other sites
5 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now