10-01-2009 08:54 AM
here is my VI, maybe somebody finds my mistake...
thank you all for your help...
10-01-2009 09:15 AM
You have set your termination character to be a carriage return constant. Are you sure it isn't supposed to be a new line character?
I'm not sure why you are going through the type cast operation for a constant. Just wire in a U8 constant direction into the Serial Port Configure. It would be decimal 13, hex 0D for a carriage return character. Or decimal 10, hex 0A for a line feed/new line character.
10-01-2009 09:24 AM
i used carriage return in my terminal, there it worked!!!
I wired an numeric constant "13" to the serial port configure....
but it still does not work
what should i give the read function by "byte count"?
10-01-2009 09:35 AM
10-01-2009 09:47 AM
10-01-2009 09:51 AM
I did this before. Problem is that I dont get all my data. One a part and that differst from measurement to measurement...what seems to be a problem with the read...but i dont know whats going wrong...
10-01-2009 09:54 AM
The problem is not at all to do with LabVIEW. I think it has everything to do with the way that you have written the program.
I will repeat my urging of you to look at the driver written for it. If for some reason you feel like reinventing the wheel, at least look at what has been written by an experienced programmer. I think that all of these posts would have been avoided if you had simply used what has already been written. You have not explained why you are not using the driver and in my mind, you need to justify the reason someone should keep helping you.
DO NOT send two queries in a row. Do a single query and then a read.
10-01-2009 10:00 AM
Raz,
Please re-save your vi as LV 8.2, and I'll try to find my spare 2000 and try it out.
Mike
10-01-2009 10:14 AM
I looked in the driver. there are a two examples, but they dont work!!!
10-01-2009 10:17 AM