Labview 9 with GPIB-RS232 for controlling shutter at fixed interval of time

Hello,
I want to control my shutter using LabView. I have got a program for it from which I can see that shutter is being controlled. But I don't know how should i incorporate this conditional opening and closing of shutter. For example, I would like shutter to be close for  first "t1' sec and open for next "t2" sec and again close for "t1" and this repeated over unless stopped.
I am attaching the file also, Can somebody explain me how I can do it?
Thanks and regards.
Solved!
Go to Solution.

I'm thinking this would be a good application for a State Machine.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions

Similar Messages

  • How to use labview with gpib to connect with Agilent PNA E8362B ?i am newbie ..just started to work on labview about a fortnite bck and a novice in interfacing skill ..so plzzzzz explain me in a litle detail

    how to use labview with gpib to connect with Agilent PNA E8362B ?i am newbie ..just started to work on labview about a fortnite bck and +i am a novice in interfacing(networking... jst know tidbits) skill ..so plzzzzz explain me in a litle detail

    Sir
    We were able to solve that problem...but now could you advice as to which DC power supply we should use (preferably avalable in India) so that it can be controlled by Labview (through a gpib/rs232/any other port) to give a square wave of desired frequency/other parameters.
    Regards
    Shivam

  • How to use labview with gpib to connect with Agilent PNA E8362B ?

    how to use labview with gpib to connect with Agilent PNA E8362B ?i am newbie ..just started to work on labview about a fortnite bck and +i am a novice in interfacing(networking... jst know tidbits) skill ..so plzzzzz explain me in a litle detail

    Duplicate Post.

  • Apple changed my Apple ID to the email address associated with my iTunes account. I now can no longer access my account because the old user name is no longer valid and has no password. I have been on the phone with tech support for hours trying to fix.

    Apple changed my Apple ID to the email address associated with my iTunes account. I now can no longer access my account because the old user name is no longer valid and has no password. I have been on the phone with tech support for hours trying to fix this. I can not update any of the apps associated with that user name.

    Is this itunes on the iPad or on my computer? Thank you for the reply.

  • We are considering to choose the GPIB card or usb-gpib converter for control o

    ur two instruments:spectrum analyzer and signal generator,questions:1.would you pls provide the checklist for the set up?2.why your product seems more expensive than agilent GPIB card or convert?3. we want to use Labwindows/CVI to develope the application.4.if we need to buy the gpib-connector? how much we should totally spend if on GPIB card solution or USB-GPIB Conveter solution?
    5.Agilent 82357A is cheaper than your product?I do not know why?if you product price include the driver while they don't,if we use convert,is it need to use driver also?

    ur two instruments:spectrum analyzer and signal generator,questions:1.would you pls provide the checklist for the set up?2.why your product seems more expensive than agilent GPIB card or convert?3. we want to use Labwindows/CVI to develope the application.Liu,
    I believe I can answer a few of your questions. If you would like to speak to an NI Technical Sales Representative for some of the parts that I am not able to answer, please call 888-280-7645. To connect to your instruments, you will need:
    1. A GPIB interface (either a PCI solution, USB solution, or some other interface card)
    2. A GPIB cable for each device (this depends somewhat on the distance between them as there are certain distance ratings on GPIB cables
    Drivers are included with the purchase of the GPIB interface (the ethernet GPIB interface requires a separate license for its driver, but the USB and PCI versions are downloadable off of NI's website).
    Scott

  • Using labview with GPIB to run Agilent 4156c: configuring SMU3/SMU4 triggers error message

    Hello,
    I posted this also in the GPIB board, since it concerns labview I thought I'd post here too.
    I'm trying to measure and plot drain curves for a JFET.  When trying to run it in labview I get the following error message:
    Error -1074000000
    Instrument reports:
    +181,"Illegal setup. Invalid command."
    +0,"No error"
    I see other people have had this problem, I've reviewed all the previous posts and tried implementing the proposed solutions, to no avail.
    Here's my configuration for when trying to run a sweep with Vgs = 0V:
    Unit          Vname          Iname                MODE                       FCTN
    SMU1      Vdd               Id                       V                               VAR1                              (drain)
    SMU2      Vg                 Ig                       COMMON                 CONST                          (gate)
    SMU3      Vs                 Is                       COMMON                 CONST                           (source)
    I ran NIspy and it told me that the error message is generated after the channels are assigned immediately after configuring SMU3 or SMU4 (SMU3 & SMU4 will both trigger it).  If I try to disable SMU3 and configure SMU4 then SMU3 will show that it's disabled on the front panel and SMU4 will be configured and I get the error.  After I get the error message, If I go to the front panel I can manually run my sweep using the configurations labview sent to the instrument.  So labview seems to be configuring the channels properly but then it halts and gives me the error message.
    I've tried configuring/disabling all unused channels and that didn't help.  I've also tried leaving the series resistance setting for each SMU as the default and assigning 0V to them, which didn't help either. 
    Any help or feedback would be greatly appreciated.

    Hello
    I see that you posted this issue in the GPIB forum. I would recommend you to keep the conversation in that forum, because it is the specialized one for those subjects. Have a good day!

  • Issue with Mapping Spaces for Receiver Flat File Fixed Length

    Hi Mapping experts,
    my scenario is receiver FILE (fixed length)
    so if a validation applied on a target field returns false then I need to pass the spaces having the number of characters defined for that field
    example
    targetField length = 8
    using "IF" function to perform validation,   if validation is true  THEN = FIELD
    if validation is false ELSE = "________"    (underscore to represent 8 spaces)
    the problem is the validation is of multiple occurences in one queue and if the "true" statement is on the 6th row, I get _________ which is the value of the 1st row (which is correct because rows 1 to 5 are all false therefore having the value of ELSE which is _______ mapped to it)
    How can I get the value of the TRUE row regardless of what row it is located?
    e.g. IF = input is 5 rows of validation,     TRUE is in the 3rd row,   i will get the 3rd row value
           IF = input is 5 rows of validation,     NO TRUE Value,   return 8 spaces
    right now when i Display Queue values are
    iF:in0          iF:in1          iF:in2          iF:out
    1111          false          [_________]     [_________]
    2222          false                    [_________]
    3333          true                    3333
    4444          false                    [_________]
    5555          false                    [_________]
    In above Queue i only get the value of the 1st row which is ________   --> because my target field occurrences definition in Data Type is 0....1
    if I change Data Type occurrences to 1...unbounded I get 5 target fields generated --> WRONG because target file is fixed field, so only one occurence of that target field is required

    Can you give me the idea of what validation are you using so that anyone can help you with the UDF straightaway
    because you need to have a UDf in place which will iterate the number of times the field occurs and then it will check the entire queue first ,where validation is true and only at the instant it will return the value
    if the entire queue is value it will return the  8 underscores
    I hope this is what you wanted
    regards
    ninad

  • Dissapeared connection for control of scanning etc through PC

    Suddenly I lost communication with the printer for "control" scanning, Inc-data a.s.o. For a couple of years I could choose type of scanning (pdf; picture;mail) from my PC, but something happened and now I couldn't control anything. HPDr-program could communicate and "adjust scanning". WIn 7 64 bits. I've try to download new drivers, tried to connect both Wireless and from USB. What's happened?
    This question was solved.
    View Solution.

    It is my pleasure erhal, I am happy to help!
    Let's try a different approach. Please use the steps below to remove the driver from the Printer Server Properties and re-add it again.
    In the ‘Devices and Printers’ folder. or units and printers in your case
    2. Choose ‘Print server properties’.
    Win XP – With no printer selected, click ‘File’ then ‘Server Properties’.
    Windows Vista – With no printer selected, press ‘Alt’ then click ‘File’ then ‘Server Properties’.
    Windows 7/8 and 8.1 – Select any printer in the ‘Devices and Printers’ folder and click ‘Print Server properties’ above.
    3. Click on the ‘Drivers’ tab at the top of ‘Print server properties’ window
    4. Choose the printer you want to uninstall and click ‘Remove’
    5. Choose 'Remove driver only'
    6. The next screen will give a warning, letting you know that deleting the driver package will remove it from the system. Click ‘Yes’ to say that you are sure you want to do this.
    If documents are stuck in the print spooler, you may see an error, cancel any documents pending in the print queue, or try restarting the print spooler, then try to remove the driver from ‘Print server properties’ again. If it still won’t remove the package, restarting the computer and the printer should resolve this ‘in use’ error and allow the driver to be removed.
    After the driver is removed, open Start > All Programs > HP folder > Printer folder > HP Setup and Software (or the printer icon).
    The Setup and software screen will open and you can click on Connect a new printer.
    Please let me know the outcome. If the issue persists we will work together to see this through. Thanks.
    Please click the Thumbs up icon below to thank me for responding.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
    Sunshyn2005 - I work on behalf of HP

  • Haviing problem with the facebbok for 9800

    i hava a problem with the facebook for blackberry 9800, i download it many times but i can not see the i con, i used many ways to find out it, but failed to find it,

    Hello nomanmahmoo, 
    Welcome to the forums. 
    Have a look at this article which may help you out with your issue. 
    Facebook icon is missing on the BlackBerry smartphone after upgrading to Facebook
    -SR
    Come follow your BlackBerry Technical Team on twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.Click Solution? for posts that have solved your issue(s)!

  • Must I define abstract  interfaces with different names for BPM?

    Must I define abstract interfaces with different names for BPM?
    When interface appeared several times with different values and usage.
    Of course they are the same message type.

    Hi,
    Check this
    RFC Scenario using BPM --Starter Kit
    Regards
    Seshagiri

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

    WIth LabVIEW how do I control an instrument with a RS232 output, using a RS232 to USB converter cable since I dont have rs232 ports. I have two instruments that I want to control in this manner. One is an Imada ZPS force gage with RS232 output. The other is a Panasonic HL-G103-S-J laser micrometer sensor which is RS422. I've done considerable LabVIEW programming using GPIB but I have no experience with devices like these. Any tutorial or examples would be greatly appreciated.
    Thanks.
    Solved!
    Go to Solution.

    I understand that you want to control a device which having RS 232 port as output. If so, you can use an USB-RS232 cable from PC to device and you can control or monitor the device.
    See this link http://zone.ni.com/devzone/cda/epd/p/id/2669
    Also, first check the device in hyperterminal and then continue to program in labVIEW. You can find the serial VI's in Instrument I/O.

  • I have found a person who has a driver software to connect Labview with PCI card. But he says that i need to download a freeware software to configure the PCI card. But you have mentioned that freeware is for GPIB boards. Is it correct ??

    I have found a person who has a driver software to connect Labview with a general PCI card. But he says that i need to download a freeware software from NI website to configure the PCI card. But you have mentioned that freeware is for GPIB boards. Is it correct ?? Is there any other way out ??

    I would ask the person who told you about the freeware software to help you find exactly where it is. I am not aware of any freeware software for configuring motion PCI cards but maybe the person you know might be able to help you locate it.

  • Is LabView good at precise motion control for things like running an assembly line with lots of cars moving about?

    Is LabView good at precise motion control for things like running an
    assembly line with lots of cars moving about? Precise speed and
    acceleration control? Safety interlocks?
    Thanks for any help you can offer!
    Sent via Deja.com http://www.deja.com/
    Before you buy.

    If you are a long time Nokia/Symbian fan then you will Know full well that Nokia phones ALWAYS improve with software updates, Symbian will not be abandoned and will not be replaced by WP7, it will continue to evolve and improve, as will the handsets. Anyone who desires or wants a different OS should try one, because it's a free world, but really, the 'perfect' OS doesn't exist, and Symbian suits me for now and I will rely on Nokia to keep it up to date, and reliable.
    If I have helped at all, a click on the White Star is always appreciated :
    you can also help others by marking 'accept as solution' 

  • Agilent 34401A multimeter to PC with Labview driver via RS232

    Hello!
    I am trying to measure a voltage with Agilent 34401A multimeter connected to PC via RS232 cable. I installed the driver. When I am starting Read Single Measurement.vi. It gives me an error:
    Error-1073807346 occured at Visa Open in Agilent 34401.lvlib: Initialize.vi->Agilent 34401 Read Single Measurement.vi
    Possible reason(s):
    Visa: (Hex 0xbFFF000E) The given session or object reference is invalid. 
    I would like to ask, how can I adjust my system to use RS23 with Agilent 34401A, if it is possible? If not, should I get GPIB card and cable?
    Thank you!
    Yulia.

    LabVIEW already comes with a driver for the 34401 pre-installed, so I'm not sure I understand what you installed. The pre-installed driver is in the Instrument I/O >> Instrument Drivers >> Agilent 34401 functions palette.
    As for the control that Dennis is referring to, it's the VISA control.
    As for the VISA version, you should have received a set of driver CDs along with LabVIEW. That will have the minimum VISA version required. Don't remember off the top of my head which version it is. Probably something like 4.1.
    Attachments:
    visa.png ‏42 KB

  • Where can I find GPIB drive for Stanford SR830 lockin amplifier for labview 6?

    Hi I am trying to work with the lockin amplifier (Model: Stanford Research SR830). Unfortunately, my computer only has labview 6 installed. Could you please let me know where I can download a SR830 driver of GPIB version for labview 6? I have checked the NI website. Only drivers for LabVIEW 8.0 and up are available here. http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=240C113D3165071BE0440003BA7CCD...
    Please let me know. If any one could upload one, that would be so great. Thank you.

    Hi Wayne,
    I am assuming you obtained the drivers from ni.com/drivers webpage? You can ask someone to convert it for you on the version conversion board and you should be good to go. If you create a new thread there please post the link to it over here so we can continue assisting you. Thank you and good luck!
    Regards,
    Basil
    Applications Engineering
    National Instruments

Maybe you are looking for

  • Need to add Header  and footer in an alv grid display output.

    How can I add header and footer in an alv grid dispay output. For the grid display, I am using the function module "REUSE_ALV_GRID_DISPLAY".

  • How to figure out server has capacity to install OEM 10 Grid control

    How to figure out server has capacity to install OEM 10 Grid control Hi Experts I have HP_UX 11.11 server which has 1 instance on it with version 10.2.0.1.0. Now I would like to install Grid control with a separate instance for repository. I was told

  • Request Administration in GRC 10.

    Dear GRC Experts, Currently, my GRC system in I have two issues in GRC AC 10 (SP 10), for which I couldn't find an answer here. Help me if you have encountered the same and solved it. 1. When we search the request, we are not able to see the approver

  • Widget confusion

    These widgets seem to be very useful, but I'm slightly confused about what they are, exactly and what standard they adhere to, if any. Do they conform to a generic widget standard that can be used with any widget framework in a platform-independent w

  • Photoshop CS4 only installed in 32-bit version??

    I bought Adobe Photoshop CS4 (Extended) 2 years ago. It was the disc-based copy for Windows. I recently got a new computer (now with 8GB ram and a 64-bit OS) So I instaleld PS CS4 the other day, and I now just realized that there is no 64-bit exe of