06-30-2008 01:31 PM
07-01-2008 09:46 AM
07-02-2008 11:30 AM
07-03-2008 11:34 AM
07-03-2008 02:10 PM
Hi,
I didn't have the model 340 to test the modifications. I made the modifcations that are included in the templates for serial settings. You might be able to get the specific information about the termination character(s) from the manual.
07-03-2008 02:28 PM
07-03-2008 03:46 PM
07-05-2008 01:23 PM
Here is the location of the manuel
http://www.lakeshore.com/temp/cn/340dn.html
The settings I am using are the following
9600 Baud
8 bits
No Parity
1 Stop Bit
have tried CR/LF and just LF
07-05-2008 04:33 PM
07-07-2008 01:05 PM
Hello,
I will try and explain things more clearly, hopefully the following will clear up some of the confusion I am causing...
In the INITIALIZATION VI inside a box called SERIAL INTERFACE there is a PROPERTY NODE called Instr.
The Instr has several boxes attached underneath it labeled the following
ASRL End In, ASRL End out, TermChar, Baud, Flow Cntrl, Parity, Data Bits, Stop Bits.
Out of the box called TermChar a wire goes to the left and into an item called a TYPE CAST which the help box tells me it casts X to the data type by flattening it and unflatting it using new data type.
The X can be found by following the wire out of TYPE CAST to the left into a CONSTANT STRING. The help box told me that this is a constant string containing the ASCII LF value.
That is where I came up with my statement about the LF.
I was calling errors, system crashes. To me if the program stopped running it crashed, however I can see how that caused confusion on your part.
If I put my program on continuous loop it will hit the error but on the next cycle it may or may not.
The 2 errors I have the most are Visa Read errors in the Data Sensor VI and in the Heater Output VI
I hope this helps clarify my problems.