Jump to content

67nate

Members
  • Posts

    8
  • Joined

  • Last visited

    Never

Posts posted by 67nate

  1. sorry, I attached the wrong code (it is now updated)

    I used Measurement and Automation explorer to communicate and that is working

    But labview doesn't But it should be com 1? I wasn't sure if it was that or the 34970A (the one that worked for the GPIB) I tried both and neither work.

    It seems like I'm missing something in initilizeing the serial port but I havn't a clue what.

  2. I can't seem to comunicate with the Agilent

    I was able to when I was using GPIB but now I need to with RS-232 and I can't get it to work.

    I'm getting error -1073807246 which is

    Property Node (arg 1) in VISA Configure Serial Port (Instr).vi->6temp.vi

    So I know somethings wrong with my configuring of the serial port but I don't know what.

    I have checked all the settings like baud rate and parity and the are all correct.

    Does any have any ideas?

  3. I'm trying to split the string. If I imput my own string I want to be able to split the check and append it to my string. So if the Xor check is 23 (one byte) I want to be able to change it to 32 33 (two bytes the first being the 2 and the second being the 3)

    If there is a way to change the xor check from a hex string to a decimal sting without converting the value [23 (hex) = 23 (decimal)] that would work great.

    Thanks,

    Nate

  4. Hi again, thanks for the help but I want to get the 2C and the 3243 in the same format so I can see if they are equal. I can't open your VI (I have only 7.1) so I'm not sure if those wires went down to do anything. I'm also not sure how to attach a picture. Anyway here is what I have I want string and XOR checksum to be the same.

    Thanks,

    Nate

    P.S. I could add a screen shot if someone told me how. What would the URL be?

  5. I'm trying to error catch incomming code. It comes in as a hex representation of ascii. (05 30 36 44...)

    To make sure nothing gets lost the last to bits before the termination bit are a Xor calculation of all previous bits.

    The problem is the formatting, here's an example:

    Incomming string: 0546 4630 5244 3030 3030 3738 3243 0D

    Xor of relevent bits = 2C This is one bit I now need to seperate the bit to match it with the 32 43 for 2 C.

    I can't figure a way to seperate it since it is just 1 bit.

    Thanks,

    Nate

  6. I'm trying to talk with a EZT-550 (it runs a temp. chamber)

    I can communicate with it in hyperterminal but I would like to use labview. I'm having trouble writting the string because it uses non-displayable characters.

    To use hyperterminal I first write the cammand in visual slickedit writting out the hex values (ie 313836 is 186) I save this as a file and then send it using hyperterminal.

    I then get back my data in ascii form (ie FE0043F)

    I would like to use labview to send and read the commands but I can't figure out how to send the ENQ (05 in hex).

    Thanks,

    Nate

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.