LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error : No of digital outputs written and read are different

I get the above error message when i run  the vi. I write 16 outputs but seem to be reading 28. Could some one take a look ... why it is doing that?
0 Kudos
Message 1 of 13
(3,991 Views)
0 Kudos
Message 2 of 13
(3,985 Views)
0 Kudos
Message 3 of 13
(3,984 Views)

test:

I was unable to run your main level VI because of missing subVIS. Please post the other subVIs so that I can better assist you.

Thanks,

Rudi N.

0 Kudos
Message 4 of 13
(3,968 Views)
I attached all the sub VI s .
 
0 Kudos
Message 5 of 13
(3,964 Views)

testdev:

I still was not able to run your VI, there were still some missing VIs namely "Power.vi", "HandleError.vi", "DI Instr Config.vi"... In any case what API are you using to acquire data, is it DAQmx?. Also, where does the error occur?. You can use highlight execution and run your code to find out which VI throws the error. Please let me know what you find.

Regards,

Rudi N.

0 Kudos
Message 6 of 13
(3,945 Views)

I am using DAQ max. I have run with highlighted ...the VI which throws error is Check Error digit VI. Now my Two State Outputs VI executes but...my Results(Outforced) do not appear.I am attaching couple of VIs ..could please check and tell where i am doing wrong.

Thanks.

0 Kudos
Message 7 of 13
(3,926 Views)
0 Kudos
Message 8 of 13
(3,924 Views)

testdev:

I am sorry for going back and forth on this, but I am still not able to run your VI because of errors, I suggest that you copy your VI to a different computer and try to open it, so that you see what VIs are missing. Also, you did not send Test Digit Ouputs 1.vi that you are referring to in the word document. I also looked through "Checkerrdigit.vi", but was not able to run because it was missing Test Data In and Out controls. Please let me know where the issue is.

Thanks,

Rudi N.

0 Kudos
Message 9 of 13
(3,912 Views)

I fixed the initial problems..error for no.of written and read items.But now i seem to be running into new ones..One of my sub VI Checks if the values wrote to Dut Digital OUT ("Arr Wrote" input) are correctly read on the connector ("Arr Read" input).
If "Arr Wrote" is different from "Arr Read", it will return an error (code 10002)
Updates also the Array Result Test Digital Outputs into Test VI

It does not do the last part...update the result. Any suggestions?

Thanks.

 

 

Download All
0 Kudos
Message 10 of 13
(3,891 Views)