Re: Help! If I have a binary file how do I then translate it to a spreadsheet file?

2004-05-17 Thread uscmagz
I think I may have got it. Thanks though!!

Re: Number to binary

2004-05-14 Thread ryank
your serial port will be the raw integer numbers. If you are using floating point numbers (singles) then you should probably check to make sure that your instrument doesn't expect strings instead of the binary representation of the floating point number. You can convert a floating po

Re: Number to binary

2004-05-13 Thread Dennis Knutson
There are two ways. Set the string control to Hex Display and enter your number in hex and write that value, or use a numeric control of U8 data type, type cast that to a string, and write that out the port.

Number to binary

2004-05-13 Thread nickdiamond
i want to send 8 bit nos. 0-255 to serial in binary form. When i tried to type "250" to the write buffer of VISA write, the vi seems to treat the no. 250 as three no. 2,5 and 0. All i want is when i send "250" to VISA write, the vi will convert it as 1010 to serial port

Re: Help! If I have a binary file how do I then translate it to a spreadsheet file?

2004-05-12 Thread Dennis Knutson
If it's not too big, can you attach one of the .bin files you created? I had a look at your modified data reader VI from a previous post and didn't see anything obvious in the code but it's pretty hard to debug anything without a file to input. When you run the reader, do you see data displayed on

Re: How do I get the binary data file from the "High Speed Data...

2004-05-07 Thread Dennis Knutson
That should work. Please explain what the problem is. Is the file empty, formatted wrong, or what? Kind of hard to help when you don't say what's broken.

Re: How do I get the binary data file from the "High Speed Data...

2004-05-07 Thread dan bookwalter
take a look at the high speed data reader.vi... you shoul dbe able to adapt that to do what you want... Dan

How do I get the binary data file from the "High Speed Data...

2004-05-07 Thread uscmagz
How do I get the binary data file from the "High Speed Data Logger.VI" into an Excel spreadsheet? I don't want it in binary form- I want it converted to ASCII or some readable form. I am using Labview 6.1. ActiveX isn't working on the computer I'm using so I can't us

writing binary files in block mode?

2004-04-20 Thread haji
I am sampling two channels in continuous mode using labview basic version. I would like to take the two arrays of values as I am sampling them and write them out in block mode to a binary file. What's the best way to do that?

Re: Binary newbie in need of assistance

2004-03-30 Thread Nate Fethke
Thanks for the info. You are correct on the I16 w/ 4 bits wasted on each sample, and the data are not packed. Everything seems to work just great now! Cheers, Nate

Re: Binary newbie in need of assistance

2004-03-30 Thread CoastalMaineBird
It's not clear to me - are you reading the data from the A/D, or are you reading the data from files? If you're reading from files, then you have to know the file format. I would GUESS that the files would be an array of I16s - signed 16-bit integers, with four bits wasted on each sample. It's PO

Binary newbie in need of assistance

2004-03-30 Thread Nate Fethke
Here's the scoop. I'm collecting large amounts of binary data using non-NI hardware (blasphemous), and need to figure out how, within LV7, to convert the binary data to decimal data. Specific info: A/D is 12-bit Each binary file contains data from 1 channel Binary data stored in lit

Re: I have two number which representation is binary(8 digits...

2004-03-30 Thread Mads
Wire the two numbers to the Join Numbers function found on the Advanced->Data Manipluation palette. Then wire that number to the Number to boolean function. If the numbers are strings you can simply concatinate the strings and then type-cast it to an integer which you send to the number to boolean

I have two number which representation is binary(8 digits...

2004-03-30 Thread Bichillo
I have two number which representation is binary(8 digits each one)but I want to work with these numbers using these like an array of 0 and 1( 16 elements, 1D), how can i do it? I did it in a way that I think that it is not very "elegant". I have 2 strings that contain an hex numb

Re: Capture and manipulate rs232 binary data

2004-03-22 Thread Sérgio Correia \(Sapo News\)
Use Number to Boolean array. "jorge" <[EMAIL PROTECTED]> escreveu na mensagem news:[EMAIL PROTECTED] > Hello, I am very new to lab view 7 and I need to do the following for > work. I am using the rs232 serial port on the computer to communicate > with a prototype circuit. The communication is a

RE: Converting integers to binary

2004-03-22 Thread Menjoulet, Scott
Sent: Wednesday, February 18, 2004 2:46 PM To: David Macleod; [EMAIL PROTECTED] Subject: Re: Converting integers to binary At 15:47 + 02/18/2004, David Macleod wrote: >Hi there, > >I'm a new LabVIEW user and I'm using it in my final year University project (an ultrasonic

Re: How to read binary file in Matlab

2004-03-22 Thread Koninika
Hello, Basically you can do it by saving the data in a file in MATLAB and reading it directly from LabVIEW, or vice versa. In MATLAB , the command "save" allows you to save the data in binary format (*.mat) or ASCII format. You also have an option of saving it in ASCII format using a tab

How to read binary file in Matlab

2004-03-21 Thread dreamhawk
"Hello all! Labview 7.0 has an example "Cont Acq to File (binary).vi" log the PCI 6014 card and writes the data to a binary file. How can I read that file in Matlab(6.5.0... R13)? Does anyone have a solution for this?

Re: Capture and manipulate rs232 binary data

2004-03-21 Thread jorge
Ok, great thanks again.

Re: Capture and manipulate rs232 binary data

2004-03-21 Thread Dennis Knutson
They are just clusters of Booleans. In the string to Data Out, the binary string is converted to a number, the number to a Boolean array, and then an array to cluster. The bottom is the reverse with cluster tot array, Boolean array to number, number to binary string. I could have skipped the

Re: Capture and manipulate rs232 binary data

2004-03-21 Thread jorge
Wow, thank you very much for the quick reply, it is exaclty what I needed. I am not quite sure what the "data read" and "data out" function is. It works perfect, but it is magic to me.

Capture and manipulate rs232 binary data

2004-03-21 Thread jorge
Hello, I am very new to lab view 7 and I need to do the following for work. I am using the rs232 serial port on the computer to communicate with a prototype circuit. The communication is a simple 8bit (byte) of 1's and 0's to and from the computer. How do I take this byte and sepearte it to indi

Binary or bit handling functions?

2004-03-21 Thread Chris Labview
I don't see any binary or bit handling functions? Thank you Chris

Binary number examples?

2004-03-21 Thread Chris Labview
Anybody have any "binary number handling" examples? Thank You Chris

reading binary data

2004-03-21 Thread Volvo
I have a file with 41 channels in it... every chn is 4 byte. So I want to make a VI reading every 41x4 bytes put it in an array and write to ASCII text file. I am very new to LabView. Can anyone point me to an example? I was searching here http://www.ni.com/devzone/dev_exchange/ex_search.htm but

Re: Binary number examples?

2004-03-10 Thread Dennis Knutson
You might want to start http://www.ni.com/devzone/lvzone/codechallenge1_results.htm";>here. If that doesn't help, explain exactly want kind of binary handling you need to do.

Re: Binary or bit handling functions?

2004-03-10 Thread Robert Cole
you can select binary in the Format & Precision menu. What more do you want for binary functions? Rob

binary data from serial port?

2004-03-09 Thread nbort
I want to be able to read binary data from a serial port using labview. The packets are of known length (in even bytes) but they are not ascii. I am worried that if i read them as ascii first and then try to convert, there will be problems such as with special characters appearing

Re: binary switch dont work outside a loop

2004-02-26 Thread GerdW
You can use different loops with different timings. One loop with a fixed timing for device controlling, other loop for user interface (using "Wait for front panel activity"). Or the mentioned case statement: use a loop with a small timing value (10 to 50ms) and check for a condition to start your

Re: binary switch dont work outside a loop

2004-02-26 Thread GerdW
If you want to do that, then you have to program it... Make a case statement and let the user select when to save data to a file. Or make some logic and start your microwave generator only at certain conditions... All the same programming: make a case statement of it, like in every other language.

Re: binary switch dont work outside a loop

2004-02-26 Thread cosw
Hello, thanks for your answer. But I placed the button outside the loop so that it don=B4t work every iteration. I want to open a com port, start a microwave generator with it or something else - once only or alternativly in very different time intervals - user controlled. Or for example storing

Re: Win32 DLL to read Labview binary files?

2004-02-25 Thread Jeremy L
Hello, I think this knowledge base on how to write LabVIEW binary files that are readable by other applications may help you. http://digital.natinst.com/public.nsf/websearch/97332426D63630EE862565070049FFBB";>http://digital.natinst.com/public.nsf/websearch/97332426D63630EE862565070049

Re: reading binary data

2004-02-25 Thread Dennis Knutson
For reading binary, there's one example called Read Binary File that reads a file of DBLs. You can modify this to read whatever you want. If your data is integers, wire an I32 constant to the byte stream type input of the Read File function. If your data is floating point, replace with

Win32 DLL to read Labview binary files?

2004-02-20 Thread [EMAIL PROTECTED]
I want one, MFC based is OK too.

Re: binary

2004-02-19 Thread IBI
Thank you very much

Re: Converting integers to binary

2004-02-18 Thread Scott Hannahs
the imaging software. The software requires a text >file which contains the data in 8 bit binary numbers, comma seperated. The array I >currently have stores integers. Is there any way that you know of to convert integers >to binary in LabVIEW? Or if there's some function that writes bin

Re: binary

2004-02-18 Thread shoneill
I'm not quite sure what the problem is after looking at your diagramm. If you're looking to have the frontpanel representation of the "Temperature" indicator show binary, this will work if you change the indicator type to integer (I32 or I16). If you're looking to extrac

Re: Waveform to binary file to read with other application

2004-02-16 Thread NeuroSci
This doesn't seem to take care of the whole problem. My third-party windows software needs the A/D values stored as 16-bit words, but I can't seem to store my acquired waveforms in this manner. I'm performing an AI mult pt acquire waveform, with output converted to binary and sa

Re: Waveform to binary file to read with other application

2004-02-11 Thread Jyoti Fontaine
Hello, Please take a look at the knowledge base about how to write binary files in LabVIEW that can be read by other applications. At the end of this document there are a couple example VIs that will convert from Big to Little Endian and vice versa. http://digital.natinst.com/public.nsf

Waveform to binary file to read with other application

2004-02-10 Thread NeuroSci
I'm streaming waveform data to a binary file to be read by a third-party waveform analysis software. When opening the file, however, the waveform data is unintelligible. I have read that Labview uses BigEndian coding, while most PC programs use LittleEndian coding; how do I convert from B

Re: Any info on CRC, checksum, or other file integity VIs for large binary files?

2004-01-14 Thread Steven H.
I've submitted some MD5 VIs to Developer Zone that should become live soon. Search Developer Exchange for "MD5" for another recent thread on this topic.