LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

lost with an Adlink card and "write to a spreadsheet file""

If someone can show me an example of a VI which acquire a waveform, put it in a spreadsheet file, with an ADLINK Labview librairy, it will help me a lot.
thank you very much
I send you my VI, but it can t work properly...
0 Kudos
Message 1 of 3
(2,613 Views)
The thing that's probibly causing your problem is the loop inside the case structure. You don't need it at that point in the code. What you do need to do is rework some of the ADLINK VIs to incorporate standard error clusters, not just error code outputs. This change will improve the reliability of your code and simplify it too by removing the need for the sequence structure.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 2 of 3
(2,613 Views)
I was just rereading what I just wrote and I should have said is: "Something else you need to do is rework..."

To fix the problem you're having now all that should be necessary is remove that inner while loop. It causes the code to write the same thing to the file over and over, without ever acquiring any new data--until you turn the switch off that is.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 3 of 3
(2,613 Views)