Jump to content

adammaro

Members
  • Posts

    4
  • Joined

  • Last visited

Posts posted by adammaro

  1. 15 hours ago, ooth said:

    Sometimes I do make it to UK, but not so far this year.

    My suggestion would be to turn on Highlight Execution and run the VI. Check if an error occurs out of any of the VISA VIs.

    Now if that doesn't help I would:

    1. Open NI MAX

    2. Right click on the ASRL4::INSTR resource and select Open VISA Test Panel

    3. Select the Input/output tab

    4. Try sending the default message of *IDN?\n by clicking the Query button.

    I first get the instrument to respond to the IDN cmd using MAX before I start programming a VI. This tells me the connection is good. 

    Hello ooth,

    let me know when you'll be in UK, I live near London ;-)

    I highlighted execution, but no error came up.

    I changed the configuration from the standard and then I have tried using the Query button, and it comes with another error.

    I am not sure the Query command is in the manual of this device.

     

    Thanks so much for your help!

    Antonio

     

    Omega_vi_problem.PNG

  2. 21 hours ago, ooth said:

    That error code says, "VISA:  (Hex 0xBFFF0072) The resource is valid, but VISA cannot currently access it."

    I would think that another program has control of that comm port. Make sure all the other programs are closed and then run the LabVIEW VI. You might have to close and re-open LabVIEW after you closed the other programs.

    Hello ooth,

    thanks a lot for your reply, if you happen to be in UK, I'd offer you a pint :-)

    The error was actually due to conflicting VISA (I installed Agilent VISA driver and that completely corrupted all the other VISA). That's been sorted :-)

    At the moment, I tried running the system, but it comes always with no byte at the port and no outcome. If you have any idea on how to solve this, that would be appreciated.

    Thanks,

    Antonio

     

    Omega_vi_problem.PNG

  3. On 19/09/2017 at 6:15 PM, ooth said:

    Hi,

    First, I would not use the VIs I made before since they were formatted just for that meter's protocol. I built a VI based on the protocol you supplied. It takes a command string (ex. #0A0616N), calculates the checksum, and then sends the command. I didn't parse the return message but you can do that based on which kind of command you send. The VI is saved with LV 2012.

    Good Luck

    Omega.vi

    Hello ooth, you are star :-) Thanks so much for putting together the code in LV, It must be a plain game for you, but not for me :-)

    I tried the code, using the first command from the protocol:

    #LLIDCHR250D0A For model name, where

    '#LLIDCHR' is in the protocol

    '25' is the check sum calculated via your VI

    '0D0A' is the ending character

    I receive an error just after the writing operation on the vi: Error -1073807246 occured at VISA Write, VISA:  (Hex 0xBFFF0072) The resource is valid, but VISA cannot currently access it.

     

    Could you help on this, I guess it's a stupid/newbie mistake.

     

    Cheers,

    Antonio

     

    Error_Omega_VI.PNG

  4. On 10/19/2009 at 0:30 PM, ooth said:

    Pat9030, here are the VIs but they are saved in LV2009. I don't have all the version to back save down to LV7.1 If you give me your email I could send you some screen captures of the code. It's not that complicated.

    Init Extech Temp Meter.vi

    Read Extech Temp Meter.vi

    Hello ooth, thanks a lot for providing the software.

    I tried running the software, but it did not work

    I have the protocol that I received from Omega, I could not attach to this post, but you can find it here: Protocol

    Would you mind helping me on this issue, please?

    Antonio

    Error.pdf

×
×
  • Create New...

Important Information

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