9 of LabVIEW with GPIB-RS232 for shutter at fixed intervals of time control

Hello

I want to order my pane using LabView. I have a program for that from where I can see this shutter is controlled. But I don't know how can I integrate this conditional opening and closing the shutter. For example, I want to shutter to be close for first "t1" dry and open for the next dry "t2" and again close to the "t1" and he repeated that if arrested. "."

I am attaching the file also, can someone explain to me how I can do?

Thank you and best regards.

Hello

What you need is two tables with in the first and in the second time, downtime.

Then in a for loop switch, element of waiting on, turn off wait element.

Use autoindexing and make sure that the two arrays have the same length in the case against the shorter table will determine the final stages.

Tags: NI Hardware

Similar Questions

  • Beginner question absolute to the Labview with GPIB connection device

    Hi all

    Firstly, sorry if my question is already posted, but I tried searching with nothing doesn't.

    My situation: I have a HP digital osciloscope, a HP 54602 B using the GPIB and trial version of labview 8.6. Now, I want to communicate with her from labview. The big question is: how? Before that I used only labview with NI DAQ card and serial port for communications of the instrument.

    the detailed question

    1 is it important (to programming in labview later) what GPIB interface that I use in my computer? Must be of OR? I still have no interface right now.

    2. I ran a search on the osciloscope Web site of NOR and find an instrument driver in:

    http://sine.NI.com/apps/UTF8/niid_web_display.download_page?p_id_guid=E3B19B3E93F7659CE034080020E748...

    . How do they come?

    3. I know there are a few examples for the GPIB, but since I do not have the interface, I can't try it. Is it possible to simulate instruments GPIB?

    Thanks for all your help and assistance

    Hi opiq;

    Welcome to the world of instrument in LabVIEW Control!  I'll try and answer your questions one-at-a-time:

    1. N ° from a point of view of LabVIEW, you can use any interface supported by VISA and your instrument bus.  This includes (but is not limited to) boards of NOR-GPIB, 3rd-party GPIB, USB, LAN, LXI, VXI, PXI, etc..  Of course, if you do not have a GPIB interface, I would recommend a NEITHER - this is the safest way to get the experience 'it works '.  I tend to use an adapter USB GPIB (DISCLAIMER - I work for the OR).
    2. You have two options for installing the device driver.  "" The simplest is in LabVIEW to select Tools "Instrumentation" instrument Drivers find... and use our instrument driver search tool which will be step helps you locate, by downloading and installing the driver.  The other option is to download the zip file, unzip it in \National Instruments\LabVIEW 8.6\instr.lib and restart LabVIEW.  So if you look in your palette of instrumentation, you should see the driver listed under instrument drivers.  The pilot will include some examples of the use of the driver (are all certified instrument drivers).

      In fact, I would recommend this driver rather than that you connected.  It is a more modern design and install examples in the viewfinder of the example ("Help" find examples...).

      Here's a video of the above process (for a different instrument, but the process is the same)

    3. Unfortunately, there is not an easy way to simulate this instrument.  I would just recommend familiarizing yourself with the examples before acquiring a GPIB interface.
  • Reading / writing to the HP 8562 A of Labview with GPIB Spectrum Analyzer.

    Hello

    My requirement is to send commands to Labview (in string format) of the Analyzer of spectrum HP 8562 (SA) and read the output of the SA, and write it to a text file. To use interface is GPIB. I have no prior experience in Labview and I'm pressed for time, within a close period. The HP 8562 A Spectrum Analyzer is an obsolete model.

    Any help will be most appreciated.

    Mohan

    Hi Dennis,

    I had the Instrument i/o Assistant to talk to HP 8562 A. But I was able to write a simple with VISA Open, read, write and close program screws to read the instructions and write to a file.

    Thanks for the help.

    Concerning

    M.R.

  • Synchronization and optimization of keithley-Labview with GPIB-USB

    I started an old thread on this subject, but I have some new problems. My vi is to control a Keithley sourceMeter to read measurements every 5 ms for 6 to 10 hours, using GPIB-USB. The vi simply sends the commands under a full script to the instrument and then bed measures (voltage and current) in a loop using the visa and saves the data and displays them in a second loop using a queue. I decided to use a queue and a second loop due to the delay caused by reading data, save them in a file + display, all in a single loop! I want to be able to see all the data with real time axis, so I used a xy chart.

    Having a shorter time in the upper loop isn't a bad idea.  Using the wait until the next ms multiple rather than just the Dequeue wait time can cause the occasional time jumps.

    I have no LV open now, so I'll try to remember your VI.  I think you picked up 3 data values and a timestamp of each 5 ms.  It is 800 items every second. If you want to save all the data but only write to the file every 5 seconds, you will have to accumulate 4000 items. Because file entries are not always made exactly when you ask them because of the behaviour of the OS, you must allocate a bit more wide open spaces.  You can initialize an array 2D as 1200 X 4 (1200 lines of 4 columns) of NaN. Place this table into a shift register.  Every time you Dequeue data, replace the next line with the data.  When you write to produce, use the subset of the array to get the part that was replaced with real data and write the part in the file.  Return the initialized array of NaN in the registry to offset and continue to replace the data.

    Lynn

  • My computer crashed when I was in Lightroom 5.7 and I can't on it comes back with a message will attempt to fix the next time it runs, but how it can with this message is blocking it.

    My computer crashed when I was in Lightroom 5.7 and now a message appears it will try to fix it the next time it starts but how it will launch when this message is blocking.

    Go to the same folder as your catalog file, find a subfolder whose name ends with Previews.LRDATA. Delete the subfolder Previews.LRDATA. Do not remove anything else.

  • With LabVIEW how to control an instrument with a RS232 output, using a USB RS232 converter cable.

    With LabVIEW how to control an instrument with a RS232 output, using a USB RS232 converter cable, since I do not have rs232 ports. I have two instruments I want for the control in this way. One is a guarantee of strength Imada SPAS with RS232 output. The other is a micrometer Panasonic HL-G103-S-J laser sensor which is RS422. I have done significant programming LabVIEW using GPIB, but I have no experience with devices such as these. No matter what tutorial or examples would be greatly appreciated.

    Thank you.

    When you plug the USB-RS-232 converter, it installs a driver under Windows which makes it look like any other RS-232 port.  You may need to install the driver of everything that came on the CD with the converter.  It will get a Com as Com5 port number according to what is the next available number.

  • Need for GPIB-RS232 converter

    Hello

    May be a silly question but I just want to be sure.

    Say I have a PC running Win7 and LabView and an instrument is linked to it with both a GPIB cable and and in its serial port RS232. I will be able to use the VISA to send and receive data in series to the instrument, or would it be better to use a NI GPIB-RS232 converter? Situations in which the said converter would be useful?

    Thank you!


  • Dashboard of data for LabVIEW with ad-hoc wifi?

    Hello

    We have a laptop and we run a LabView control and acquisition of data on this subject program. We would like to have access to some of the values of the "indicators through an android tablet, so during an operation manual tap on our facilities, we could see remotely what happens with some measured values in our application LabView.

    The ethernet port is not available on this laptop, it is used for a sensor. It has wifi and bluetooth adapter. What would be the easiest solution to access the LabView app on this laptop from the Android device by using the "dashboard of data for LabView" android app? For security reasons, this laptop can't access internet, but of course, we could all just put a near wireless router (and not connect to the internet), and the laptop computer and the android Tablet access the same wifi network. I guess it should work, Yes?

    Or is it possible to make a connection to wifi ad-hoc between the laptop and the Tablet and use the DataDashboard? Anyone has any experience with such a solution?

    Last question: or what a Bluetooth connection? Might work?

    Thanks a lot for the tips!

    Kind regards

    Hi man,

    I recommend you connect your tablet as you described.
    _________

    |                   | ---> Network---> sensor cable

    | DAQ App |

    | Windows | ---> WiFi---> gateway---> Tablet

    |                   |

    ---------------

    I don't think that it is possible to use the Bluetooth with the application of the dashboard of data for Android. I can't find any information on Bluetooth, only for the WiFi.

    Best regards, Stephan

  • Where can I download a LabVIEW GPIB driver for an ANDO AQ6315E optical spectrum analyzer?

    Where can I download a LabVIEW GPIB driver for an ANDO AQ6315E optical spectrum analyzer?

    Thank you.

    The Instrument Driver Network has all the drivers for the instruments. There is no driver specific to this model, but there is one for the 6310 B. Maybe this can work for you. You may need to change. If this isn't the case, you will need to write one yourself. You can get a lot of material for this here: http://www.ni.com/devzone/idnet/development.htm

  • Problems syncing with GPIB Read on a SR400

    I'm using LabView to control a meter of photons SR400 of Stanford research systems. Can control the box easily, I'm having problems with reading the correct data in the box of. I get incorrect values of 0 ', 6 and 134' rather than real account numbers. I see the correct values on the display screen, but GPIB reads bad.

    It's what I've tried and what I've learned:

    • At first, I was getting random 6 error LabVIEW (from reading GPIB) which would prevent my program to run. To resolve this problem, I put a case Error statement after she and simply write the word ERR in my data file and move on to my next point data. This stopped my cessation program, but started badly reading the values using reading GPIB.

    • The SR400 takes data for N periods on two channels, A & B. The first column of the channel A every 6 seconds and the rest of the columns on both channels would be regular values. However, the problem got worse and my first column of the channel began to write 0s, the second column of the channel A would be 6 s with some 134 s and the rest of the columns would be nice. But, if I had only 1 time for each column, I now have data lost on two channels A and B. A channel would be of 0 s and channel B 6s and 134 s.

    • This problem is sporadic. I can't control when it arrives. Today he works. Yesterday's didn't.

    • It seems to be a timing issue, but I don't know what I can do about it.

    My questions for you are:

    1. Is it better to use GPIB or VISA to communicate? I use GPIB cabling, so be it.

    2. How can you correct problems of timing in GPIB?

    3. Any suggestions on how to improve this?

    I joined code of 8.2 and 2011. I'm trying to convert our code in 2011 to see if it solves the problems. The VI with GPIB Read is CollectData/TakeData and it is called by a VI, where he gets called frequently, but the reading and writing of all MTP recharge time is done by data files CollectData/Take.

    Thank you all in advance for your help. I'm a grad student and still learn from these electronic and LabVIEW.

    Start by lowering of the busspeed. I think that 1 uS is more fast enough for the handshake and then I would disable autopolling.
    You can do it in Max settings for your gpib card.
    Low level visa uses gpib, but never use it directly. In any case the speed is completely determined by the slowest device on the bus, complaining the sr400

  • Is is possible to access channels from a database in labview with NI USB 8473 s

    Hello

    I would like to know if it is possible to access a database BOX, which is downloaded through MAX, in labview.

    Specifically, I downloaded my CAN of database to the MAX and I want access to each specific channel in labview.

    IE according to the photo, I would like to have access to the canal of n_Motor_InsRpm of E1_L0_1 (motor speed) in Labview, in order to define and pass a value of speed via CAN. Would this be possible with the NI USB-8473 s? If so, is there a simple example in Labview?

    Thanks for your help

    Charis

    There are several ways to get information from database without the need of hardware. Here's one I made earlier.

    https://decibel.NI.com/content/docs/doc-39793

  • What can the LAbview with a USB webcam?

    Hi there, I was wondering if someone can help me with my main project.

    I intend to purchase the NI Labview remote control.

    I want to be able to control the distance of Labview Panel through the web.

    Is it easy to generate NI Labview Remote Panel application on my own? I'm still in College.

    or can I buy the NI Labview Remote Panel app for $309 and use applications to control my labview through the web software.

    in this case, I counted about writing software to take the USB camera and post it on the web.

    What can I do with the usb camera?

    can I change the color? hear the sound? you guys can suggest me to do if I get to work with the web?

    Help, please...

    Thank you in advance...

    OK, back to topic.

    A classic exercise would be the detection of changes such as the detection of an object moving for security, etc.. Expand on that and save images when movement has been detected. Another step further, to subtract the background of the object in motion and present a sequence of images of just the moved object.

    Too exotic?

    That level down to a manually-initiated process to do a "what's new? It compares a before and after picture and shows you what has changed.

    Ben

  • Watlow F4 with GPIB connection

    Hello

    I have a room that uses the Watlow F4 controller with GPIB connection. I want to control it by sending a recipe of Labview. I found this driver on the Web site OR:

    http://sine.NI.com/apps/UTF8/niid_web_display.download_page?p_id_guid=0150785855373A2DE0440003BA7CCD...

    Not 100% sure it's the correct driver

    I intend to use a GPIB to USB converter. If anyone has a model of VI I could begin that would be great.

    Thank you very much

    LabView Newbie

    That looks like the correct driver.  Since it uses VISA, you should be able to use the serial or GPIB without having to change anything.  It should be an example in this driver as well as you could use as a starting point.

  • LabVIEW does not support for NI-DAQmx.

    Hello fellow programmers.

    I am an absolute beginner with LabVIEW and I have the problem that even if I installed the latest versions of the NOR-DAQmx (9.7.5) driver and LabVIEW (2013) I get the error message "LabVIEW does not support for NOR-DAQmx. Please reinstall.

    I created a task in the NOT-MAX. According to the tutorial now there should be an element in LabVIEW under "Measure i/o", but it is not. I carried the task via drag & drop in the block diagram, but when I want to turn in code, I get the above message.

    Operating system: Windows XP SP3

    Any suggestions?

    Thanks in advance

    Laura

    crossrulz,

    Thank you for your response. Well, I installed the latest version of NOR-DAQmx (9.8) and this time I also installed packages for the former executives etc and now it works.

  • With the help of LabVIEW with NI VeriStand

    Hello

    I try to use Labview with NI Veristand, when I followed the white paper here:

    http://www.NI.com/white-paper/11135/en

    I do not see the same menu detailed in step 4 (OR veristand is not listed on the menu - see attachment). I have NI Veristand installed on my computer.

    Do I need to install an additional extension?

    jtur wrote:

    I'm under Labview 2011 SP1 and Veristand 2011 SP1.

    In what order did you install?

    VeriStand before LV installation could be a problem.

    I had the same version of VS and LV you obtained as appropriate, and the variant of menu is available for me.

    BR,

    / Roger

Maybe you are looking for