Need an enable/disable Labview VI for SC-2062 relay board using PCI-6503 DAQ Card.

I am using Labview 6i, and I need to write an enable/disable VI that will enable and disable 6 of the 8 relays at any time while keeping the whole vi running. Therefore one or more positions may be changed at a time, but positions that don't change cannot be interrupted when changing others (no port resets allowed). I was wanting to maybe send a 1 by 6 array of some sort out but I can't figure out how to use the array to communicate with the DAQ card, relay board and SC-2051 adaptor. There also needs to be error handling in and out. Thanks for your help. Any examples would be very helpful.

Hello;
The best way to go about that is to disable the data points correspondent to the channels you want to disable. Meaning that you can ignore the datapoints of the channels you want to disable on the fly. That is the only way to disable channels on the fly.
Regards
Filipe A.
Applications Engineer
National Instruments

Similar Messages

  • Anyway to selectivily enable/disable bluetooth function for selected apps like papago in iphone.

    Hi,
    Anyway to selectively enable/disable bluetooth function for selected apps like papago navigator in iphone.
    I want to maintain bluetooth connectivity to car headset for handsfree driving while papago navigator on ky iphone continuously guide me on the road using the  iphone speaker. So when someone called me on the phone, it will use the car headset. is there such as apps?
    Rgds,
    Kpk

    Hi,
    In pageflow definition, "Train Stop-->Skip" property controls the enable/disable state.
    If Skip value is true (it can be controlled with EL expression) than related link and button in train components are disabled.
    They are enabled other If Skip value is false (It is default).

  • I need to interface SCC-TC02 with help of SC 2345 and PCI-6024E DAQ Card.please tell me the procedure and if possible send me the program

    Dear Friends,
               I need to interface SCC-TC02 with help of SC 2345 and PCI-6024E DAQ Card.But i can not understand example program.please send me the procedure to interface these three componnets and if possible send me the program.
    With Regards,
    Eswaramoorthy K V

    nce of nth triggering pulse. i need to know when the when the ist trigger occurs and when the nth trigger occurs . please tell me how to to . what i know is that event triggering has to be done with start and stop trigger. please tell me how it has to doneSuresh;
    What you will need to do is to set up a digital start and stop triggered Analog Input acquisition. Then you will need to have a counter set as event counter, having the specific number of pulses you need configured as the preset value, configured to count down, and generating a pulse after the terminal count has been reached. That counter output will be the stop trigger of the Analog Input operation. In summary, you will have the external pulse being both the digital trigger of the Analog Input operation and the source pin of the counter, and the counter output being the digital stop signal for the analog input.
    I'm attaching a Labview VI that does the start and stop analog input acquisition. You will need to include the counter part and set the stop s
    ignal to be the counter output.
    Hope this helps.
    Filipe
    Attachments:
    AI_Start-Stop_D-Trig.zip ‏25 KB

  • I am using PCI-6033E IO card and i would like to send 5 volts (high logic ) to the trigger box. the trigger box will trigger the frame grabber card, that i am using for image acquisition.

    i am using PCI-6033E IO card and i would like to send 5 volts (high logic ) to the trigger box. the trigger box will trigger the frame grabber card, that i am using for image acquisition.

    Hello;
    The first thing you need to figure out is the shape of the trigger pulse needed.
    In case you just need a logic high TTL pulse, you can use one of the digital lines of your DAQ device.
    In case you need a pulse train (multiple trigger pulses), you will need to configure one of the general purpose counters to accomplish that task.
    You can find examples in both Labview and NI-DAQ showing how to program your DAQ board to accomplish both approaches.
    Hope this helps.
    Filipe A.
    Applications Engineer
    National Instruments

  • I am looking to control a 4-way hydraulic solenoid valve. Do I need a PID control toolset, or can i control the system through my 16E4 daq card and scxi chasis

    I am looking to control a 4-way hydraulic solenoid valve. Do I need a PID control toolset, or can i control the system through my 16E4 daq card and scxi chasis

    I think you're asking 2 different questions.
    The PID control toolset is for using PID loops for control; it's just software.
    The DAQ card and scxi chassis are hardware. If you have the appropriate signal conditioning cards in your chassis to control/monitor your solenoid valve, then you can run a PID loop.
    I believe the simple answer is: the PID control toolset is the best way to do control, but there are simple PID VI's (even on this website) that you can download and use for simple control.
    Mark

  • FOR SALE: PCI-6024E DAQ Card

    Hello everyone,
    I have a PCI-6024E DAQ card for sale.
    I am sorry if this is off topic - if someone knows what forum to sell NI hardware please let me know.
    If you want more information, please contact me - I have the following items, selling as a set:
    * PCI-6024E Multi I/O and PCI DAQ card, low-Cost E Series Multifunction DAQ, 12-Bit, 200 kS/s, 16 Analog Inputs ($595/list)
    * CB-68LPR (184700B) connector block ($95/list)
    * 182482A-01 type R6868 1meter cable ($40/list)
    Thanks,
    Dave M
    [email protected]

    I'm sorry, I should have put in the post that I will entertain offers. Please make an offer.
    Regards,
    Dave M.
    "DaveM" wrote in message news:RJErb.7470$[email protected]..
    > Hello everyone,
    >
    > I have a PCI-6024E DAQ card for sale.
    >
    > I am sorry if this is off topic - if someone knows what forum to sell NI hardware please let me know.
    >
    > If you want more information, please contact me - I have the following items, selling as a set:
    >
    > * PCI-6024E Multi I/O and PCI DAQ card, low-Cost E Series Multifunction DAQ, 12-Bit, 200 kS/s, 16 Analog Inputs ($595/list)
    >
    > * CB-68LPR (184700B) connector block ($95/list)
    >
    > * 182482A-01 type R6868 1meter cable ($40/list)
    >
    > Thanks,
    >
    > Dave M
    > [email protected]

  • FS: PCI-6024E DAQ card for sale - 200,000 samples/sec - 16 inputs - GREAT DEAL!

    Hello everyone,
    I have a PCI-6024E DAQ card for sale.
    If you want more information, please contact me - I have the following items, selling as a set:
    * PCI-6024E Multi I/O and PCI DAQ card, low-Cost E Series Multifunction DAQ, 12-Bit, 200 kS/s, 16 Analog Inputs ($595/list)
    Thanks,
    Dave M
    [email protected]

    I'm sorry, I should have put in the post that I will entertain offers. Please make an offer.
    Regards,
    Dave M.
    "DaveM" wrote in message news:RJErb.7470$[email protected]..
    > Hello everyone,
    >
    > I have a PCI-6024E DAQ card for sale.
    >
    > I am sorry if this is off topic - if someone knows what forum to sell NI hardware please let me know.
    >
    > If you want more information, please contact me - I have the following items, selling as a set:
    >
    > * PCI-6024E Multi I/O and PCI DAQ card, low-Cost E Series Multifunction DAQ, 12-Bit, 200 kS/s, 16 Analog Inputs ($595/list)
    >
    > * CB-68LPR (184700B) connector block ($95/list)
    >
    > * 182482A-01 type R6868 1meter cable ($40/list)
    >
    > Thanks,
    >
    > Dave M
    > [email protected]

  • How do I disable the ability for a user to setup/use the sync feature?

    I need to disable this feature for all users in a corporate environment, how do I do this? I would like to disable the "Sign in to Sync" on the menu and the tab in the Options window.

    You can look at:
    *CCK2 Wizard: https://addons.mozilla.org/firefox/addon/cck2wizard/
    *http://mike.kaply.com/2014/01/08/can-firefox-do-this/

  • How to arm channel 1 of a PCI 6133 DAQ card using labview?

    Hi,
    I am new to the Labview and I need some help.  I have a PCI 6133 multifunction DAQ card and I'm using Labview 8.2 to capture five channels waveform data.  I setup channel ai0 to be the trigger channel and I need to capture data from ai0, ai1, ai2, ai3, and ai4 when ai0 is trigger.
    Question:
    1) I am using DAQ assistant to configure my channels.  How can I arm the channel ai0?  I have an "execute button" and it should arm the scope when I click it.
    2) Is there trigger ready signal, so I can save all the channels data when channel ai0 is trigger?
    Can anyone provide some help?
    Thanks

    Hello wirte spreedsheet,
    Thanks for posting to Discussion Forum. It looks like you are using the
    PCI-6133 to acquire analog data from ai0:ai4. You want to use ai0 as
    the trigger for the other channels.
    Does your application need to be retriggerable?
    Are you doing continuous acquisition?
    Are you doing Analog start trigger or reference trigger?
    Take a look the following shipping examples, found in LabVIEW click
    Help>>Find Examples. On the browse tab, Hardware Input and
    Output>>DAQmx>>Analog Measurements>>Voltage:
    Cont Acq&Graph Voltage - Analog SW Trigger.vi
    >> This example demonstrates how to perform an analog software
    triggered acquisition. The example allows the user to specify the
    triggering condition and the number of pre-trigger samples to acquire.
    Cont Acq&Graph Voltage - Int Clk - Analog Start.vi
    >> This example demonstrates how to continuously acquire data
    (Waveform) using the DAQ device's internal clock and an analog slope
    start trigger.
     Take a look at these applications and let me know if you have any questions or comments.
    Have a good day.
     Regards,
      Sandra T.
    Applications Engineer | National Instruments

  • How can I create software start and stop trigger in LabView using 6023E series DAQ card? I don't want to use the external trigger.

    I am using 6023E DAQ card to collect the signals, such as AE, Force, Torque from the machine. I want to collect only some part of signal for example between start triger and stop trigger. I'd like to know how I can creat those triggers in LabView from one of the channels that I am acquiring at the same time. I found one or two library file that is only for start trigger. I know that this is availabe in some of DIAdem functions. Please let me know if you have done some example for this requirement.

    If you are wanting to create a software trigger based on an analog input voltage in LabVIEW, there are several options. One suggestion would be to compare the voltage values from one input channel to a number within a loop. If the input voltage crosses that threshold (is greater than the number), have a case statement that will acquire data from the other channels. This would simulate a software start trigger in LabVIEW.

  • Where can I find C++ source examples for interfacing with a PC-DIO-96 PnP DAQ card?

    I am a C++ software developer who needs to be able
    to use the PC-DIO-96 PnP card to communicate with Special Test Equipment in order to measure and adjust voltages. My Operating system is Windows NT. I am not exactly sure where to start...
    Thank you for any help,
    Tim

    This is a Measurement Studio forum, you should post Digital I/O questions to the digital I/O section of Developer's Exchange here. You should be able to find C examples that will work in Visual C++ in your NI-DAQ software directory. If not, go back through the installer and select Visual C/C++ support.
    Best Regards,
    Chris Matthews
    National Instruments

  • Got MMR working, need to enable SSL (for both for MMR and external access)

    Hi,
    I have two instances of DS 5.2 running, and have Multi-master replication working between them. Now, I need to enable server-authenticated SSL for both the inter-DS replication connections, and for connections from LDAP clients.
    I know how to enable server-authenticated SSL for DS, in general (create a cert request, etc.), but since these DS instances are working with MMR, do I have to request and get two different SSL server certs and install them separately into each of the DS instances?
    Also, what do I need to do to enable/allow SSL on the replication connections between the two DS instances?
    As many specifics as possible would be appreciated :)!
    Thanks,
    Jim

    In general:
    Every Server should have it�s own Certificate - otherwise the whole SSL stuff is quite obsolete.
    SSL is not only about encryption - it�s used to achieve
    -Confidentiality
    -Message Integrity
    -Endpoint Authentication
    Or did i get you wrong? What do you mean by 2 different certs?
    -Bernhard

  • Enable/disable/defaulting the radio button in tabular Form

    Hi friends,
    I have one radio button column in my tabular form with 3 values for it.
    <li>FC
    <li>BC
    <li>EC
    I need to enable/disable the radio buttons according to the position of the user.
    If the position of the user is CEO means,
    then FC radio button has to be checked defaultly and also for him he needs to have BC and EC radio buttons to be enabled.
    If the position of the user is between(1-4) grades means,
    then FC radio button has to be disabled, but BC radio button has to be checked defaultly and also for him he needs to have EC radio buttons to be enabled.
    If the position of the user is between(4-6) grades means,
    then FC, BC radio button has to be disabled, but EC radio button has to be checked defaultly.
    How i can achieve this radio button enabling/disabling and defaulting it dynamically according to the user.
    Where i need to specify this kind of restriction inorder to work for me in my application.
    Brgds,
    Mini

    Hi Bob,
    thanks for your reply first, and your suggestion too.
    I tried in the below manner on the lov definition of my radio button and it hide/shown according to the user who logs into the application.
    SELECT 'FC' d, 'FC' r FROM DUAL WHERE lower(:APP_USER) = (select lower(user_name) from apps.xxhy_ams_details_v where upper(job_name) = 'CEO')
    UNION ALL
    SELECT 'BC' d, 'BC' r FROM DUAL WHERE lower(:APP_USER) IN (select lower(user_name) from apps.xxhy_ams_details_v where grade_name
    BETWEEN 1 and 4 OR lower(:APP_USER) = (select lower(user_name) from apps.xxhy_ams_details_v where upper(job_name) = 'CEO'))
    UNION ALL
    SELECT 'EC' d, 'EC' r FROM DUALBut how i can check the radio button defaultly according to the user who logs in .
    <li> If the employee with the position CEO logs into the application means, he needs to have FC to be checked defaultly.
    <li> If the employee with the grade between(1-4) logs into the application means, he needs to have BC to be checked defaultly.
    <li> If the employee with the grade between(5-12) logs into the application means, he needs to have EC to be checked defaultly.
    Note:
    Instead of hide/show the radio buttons defaultly whether it is possible to enable/disable the radio button according to the user who logs into the application.
    Brgds,
    Mini...

  • Enable/disable lov button in a multi-row bloc

    Hi all,
    I have a form in which there is a multi-row block with some lov buttons related to some items,
    in query mode, user should not be able to modify item, item property update_allowed is set to false, that worked, but user is able to modify item when he clicks on the lov button...so i want to disable the button for query records and for record in (insert or new), button should be enable,
    i tried some tips but don't work, do you have any idea
    Thanks for your help.

    Hi,
    Can you suggest some methods to enable/disable LOVs in my search query? I have a customized VC which performs search and I need to enable/disable the LOVs depending on requirement.
    Abhishek

  • Enable/disable report parameter control at runtime in SSRS

    Hi,
    I am using SSRS 2012. I want to enable/disable or hide/show parameters based on another parameter selection.
    I have a 3 parameter, Parameter 1 says which parameter need to show either Parameter2 or parameter3 in the parameter panel. i don't find any expression to show/hide option.
    Appreciate your help.
    Paramesh G

    However if you want parameters to enable disable then that functionality can be obtained by using cascading parameters
    ie make parameters  2 and 3 dependent on 1
    So for that created two datasets which will provide values for parameters 2 and 3
    Check allow null values for both the parameters
    Set default value as NULL for both parameters
    then for dataset use queries like
    SELECT ...
    FROM ..
    WHERE @Parameter1 = 'Parameter2'
    SELECT ...
    FROM ..
    WHERE @Parameter1 = 'Parameter3'
    This will make sure parameter2 or 3 gets enabled with required values based on what you choose for parametr1
    Please Mark This As Answer if it solved your issue
    Please Mark This As Helpful if it helps to solve your issue
    Visakh
    My MSDN Page
    My Personal Blog
    My Facebook Page

Maybe you are looking for