hamiza7 Posted February 28, 2009 Report Share Posted February 28, 2009 Hi, I am trying to connect one of Lifelines product known as Trackit (an EEG system) with LabVIEW. Does anyone has any experience using this hardware (Trackit).? For your information, this hardware communicates via serial communication. I have tried to use the Basic Serial Write and Read.vi to connect the hardware with LabVIEW. Unfortunately, it is not success. If you guys wants to know how does the hardware looks like, please have a look at www.llines.com. the hardware name is trackit ambulatory regulator. Its programming is written in VB. if you need the source code in VB, please let me know and leave your email address for me to email you the code. TQVM Quote Link to comment
dblk22vball Posted February 28, 2009 Report Share Posted February 28, 2009 Can you better explain how you have tried and "failed" to get communication with the device, ie what commands did you try sending, did you get an ACK or NACK? Quote Link to comment
Shazlan Posted March 5, 2009 Report Share Posted March 5, 2009 QUOTE (dblk22vball @ Feb 27 2009, 10:28 PM) Can you better explain how you have tried and "failed" to get communication with the device, ie what commands did you try sending, did you get an ACK or NACK? Hi, I am working with Hamiza on this. I've written a simple VISA write and read to interface with the device (see attached) but to no avail. The VI either writes character by character to the serial port with 2 ms delay in between or send all characters at once - I honestly am not sure whether it makes any difference or not. You can refer to 3.2.1 as to the command I used to send to the device. In hex it is 1c00 0068 0d. I can't seem to figure out what is 1c in normal character (the manual refers this as FS. What is FS? Free space? Full stop?) Apart from '1c', the rest of the commands in normal character is 00h(CR), which (CR) refers to carriage return. What could be wrong? Ideas? Quote Link to comment
Phillip Brooks Posted March 5, 2009 Report Share Posted March 5, 2009 QUOTE (Shazlan @ Mar 4 2009, 06:09 AM) I can't seem to figure out what is 1c in normal character (the manual refers this as FS. What is FS? Free space? Full stop?) Apart from '1c', the rest of the commands in normal character is 00h(CR), which (CR) refers to carriage return. File Separator ? 0x1C is the ASCII code for File Separator. http://asciitable.com/ Note that a File Separator is not necessarily the same as EOF. I think FS is a holdover from the days of punch cards... Quote Link to comment
dblk22vball Posted March 5, 2009 Report Share Posted March 5, 2009 so you are sending this command (1c00 0068 0d), aka transmit heartbeat, correct? are you getting any response from the device?? Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.