Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

How to let CAI model 600 analyzer understand the ASCII STX as Hypertermial does

Hi All,

 

I would like to control the CAI model 600 CO2 analyzer asHyperTerminal does. However, the labview is unable to type Ctrl+B or Ctrl +C as HyperTerminal does to command the machine to wait for the further command, which will start over again and again no matter what letters I typed in. In HyperTerminal, I was followed the procedure provided by the company and it works well. The standard command procedure in HyperTemirnal is beginned with Ctrl + B (the program will hangs in there) _AKON_K1_, abd ends with Ctrl + C, then the program will responds.  On the other hand, I was tyring the HyperTerminal.iv developed by Prabhakant Patil (https://decibel.ni.com/content/docs/DOC-16283) All the command such as 02, ^b will start over the program for any one single byte. Please kindly advise. Thanks

 

Regards,

Po

0 Kudos
Message 1 of 2
(3,490 Views)

Hello Oxford28,

 

I'm not sure I fully understand your question! It sounds like you're using Prabhakant Pati's LabVIEW code to acheive HyperTerminal functionality, but cannot use the same CTRL+C and CTRL+B shortcuts that you are used to in HyperTermincal, correct?

 

This is expected behavior. Those keyboard shortcuts will only exist in Windows HyperTerminal - they will not apply in the code created by Prabhakant. In order to use Prabhakant's code, you should experiment with the different commands available to try and acheive that same functionality - his community page includes a PDF document which should help clarify some of this!

 

As for the reset behavior you described - unfortunately, community examples are not supported by NI. The best way to become familiar with them is through experiementation! I'd recommend going through Prabhakant's notes to see if you can find any helpful information there - I've included a slightly updated version of his code below:

https://decibel.ni.com/content/docs/DOC-16720

 

As a related aside, here is a link discussing why a serial device might not work in LabVIEW/VISA Test Panels:

http://digital.ni.com/public.nsf/allkb/171D2D70CFB66E74862571390062D12B

 

I hope this answers your questions! Thank you, and have a great day. 

Derek B. (esoDerek)
Product Marketing Engineer
National Instruments
0 Kudos
Message 2 of 2
(3,463 Views)