Jump to content

jack9

Members
  • Posts

    2
  • Joined

  • Last visited

    Never

jack9's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Ok, thanks I try to use VISA Open with lock property: I have two sequence "Open - Read - Close" and I wish that they access to serial port in mutual exclusive mode. I set each VISA Open block with Duplicate_session= True and access_mode=exclusive_lock, I create a resource name constant that it is the input for two VISA Open block. I note that if the Close block of a sequence is executed, all sessions are closed and other sequences can't read from serial bus because the session of second sequence is closed by Close block of first sequence. My question is: Close block closes only session of resource name that use as input or closes also other duplicate sessions?
  2. Hi to all, I'm newbie with Labview 8.5, I'm viewing some example to connect serial port with VISA blocks. I see that these examples use a VISA Resource Name control to define the resource (example selecting COM1) but after they don't use Visa Open block to open a VISA session with the device, but they use directly the sequence "VISA write - VISA read - VISA Close" blocks. Why don't they use VISA open session to open a session with device? I read in help that VISA Resource Name contains some informations on resource and it maintains VISA session also, instead VISA session is a unique identifier, I think that when I create new Visa Resource name Control, Labview automatically open a session with this resource, so it isn't necessary to use VISA Open block to create the session, isn't it? best regards
×
×
  • Create New...

Important Information

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