Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

Where can I find info on Digital Acquasition

Hi Nir,

The best way to do this would be to use a for loop. Inside the for loop, you wil index the array and pull out the binary number that you want. Then subtract one from that number and invert the bits. Basically, there is no twos complement function in LabVIEW. It must be done by hand (or algorithm).

-Sal
Message 21 of 23
(1,113 Views)
Hi Sal,

Thanks for your replay.
I did it using for loop. My application is runing well. I manage to acquire 8 seconds of continous data, ans preform my analysis.

After acquiring my data I save translated samples to a "Write To Spread Sheet File".
The "File" LABVIEW component opens a browser window in order to set the desired path, and file name.

How can I do it automaticaly? (Setting the path and file name).
When iI tried to set the path I got an error message.

Best Regards,
Nir Corse
0 Kudos
Message 22 of 23
(1,111 Views)
Hi Nir,

I have attached a picture of how to do it. The file name you specify must ALREADY exist if you use the write to spreadsheet VI. If the file does not already exist, you must first use the open/create/replace file VI.

-Sal
0 Kudos
Message 23 of 23
(1,103 Views)