How to programme logic gates in LabWindow/CVI?

I am a student working on my final year project.I am new to LabWindows/CVI.My project is automated test of safety realted software. I am feeling a difficulty in programming gates in it.Have to make a GUI with many gates and relays in it.PLs help me out.

Hi,
What do you mean when you say "gates and relays"? Do you want to control hardware gates and relays? or is this just a user interface control that looks like a relay?
I am attaching a small GUI that shows some of the boolean controls that CVI has. Please take a look at this UIR and give us some more details on this.
Regards,
Juan Carlos
N.I.
Attachments:
BinaryControl.uir ‏5 KB

Similar Messages

  • How to calc array length in Labwindows CVI ?

    How to calc array length in Labwindows CVI ? In labwiew,I can find function to calc array length,but in CVI ,I can not ,...

    Hello 让一切随风 
    char  *name ;                              
    int length = 0;
    int i = 0;
     name = malloc(256) ; 
    strcpy(name   , "National Instruments");
    while( name[i] ! = "\0")
      length ++;
    i++
    free(name);

  • How to Rotation 3D Image in LabWindows/CVI

    Hi All
    I have a 3D image and i want to rotate its x,y and z axis, how it is possible kindly help me.
    Regards
    Umer 

    Hello Umer
    When you say that you want to rotate the 3D graph, you mean programmatically? as you can rotate the 3D object using your mouse once the code is running. 
    To locate the examples in LabWindows/CVI that incorporate the 3D ActiveX Graph control, follow the steps below:
    Launch LabWindows/CVI.
    Browse to Help » Find Examples » Communicating with External Applications » ActiveX » General.
    3.  Select any of 3D projects which include
    3DGraph.prj, 3DGraphAxis.prj, 3DGraphColorMap.prj, and 3DGraphContours.prj.RegardsMart G

  • How to create ActiveX Control in LabWindows/CVI 2010

    I have LabWindows/CVI 2010 Full Development System (Debug Only) installed on a stand alone PC with Windows 7 (64bit).  Also I have Matlab (R2011a) (also 64bit) installed on this PC.  I tried to use "Create ActiveX Controller" under ""Tools".  I can locate the "Matlab Application (version 7.12) Type Library" in the ActiveX Controller Wizard. After click "next", I got a message "The Type Library is not intended for use on Win32".  My questions are:
    1) Is my LabWindows/CVI 32bit or 64bit?
    2) How to create my Matlab ActiveX Control?
    Thank you.

    Hi JGS,
    It means that you cannot use 64 bit libraries in CVI ti create Activex controls since CVI is a 32 bit application. You can however create 64 bit dlls, executables and static libraries. Here is a link to some information:
    http://zone.ni.com/reference/en-XX/help/370051T-01/cvi/programmerref/creating32bitappsversus64bitapp...
    Regards,
    Perry S.
    Applications Engineer
    National Instruments

  • How's NI's support for LabWindows/CVI? How's it likely to be in the future?

    Hello Fellow LabWindows/CVI Users,
    Have you found that National Instruments provides good support for LabWindows/CVI?  If so, do you expect good support to continue in the future?
    Thanks,
    Gayle Roth

    Duplicated post
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • How to create customized controls in LabWindows CVI

    Hello,
    I would like to create more "user friendly" controls  in LabWindows. For example I would like to use a "Round command button" and add a picture on it.
    Do you know if there is a way to do it?

    It should be possible: In the classic-style controls, there is a round command button; you can set the button color to transparent and place it on top of a suitable picture...

  • Using Matlab in Labwindows/CVI

    I have a matlab .m file that runs a function. In my Labwindows software, I want to be able to run this function. Is this possible? Thanks.

    Hi Kamkon,
    Have you had a chance to look into the example posted by Anna? I've come across discussion forums regarding how to use MATLAB dlls in LabWindows CVI. They are listed below. I hope this is of some help to you.
    http://forums.ni.com/t5/LabWindows-CVI/How-to-use-a-Matlab-DLL-in-CVI/m-p/548105?requireLogin=False
    http://forums.ni.com/t5/LabWindows-CVI/Linking-Matlab-generated-lib-files/m-p/283814?requireLogin=Fa...
    Creating a MATLAB dll is somewhat outside the scope of our suppot. However, I have found a third party link on this topic. Hopefully, it will point you in the right direction.
    http://www.mathworks.com/support/solutions/en/data/1-18CBI/index.html?solution=1-18CBI
    Regards.
    Josh L.
    Applications Engineer
    National Instruments

  • Manual or Tutorial of LabWindows/CVI?

    Hi everybdy, i'd like to know, if anybody knows some manual, tutorial or
    how getting started , in the program LabWindows/CVI 5 or other version, in
    Internet . Thanks for your attention,and sorry for my English.

    "laxus1" wrote:
    >Hi everybdy, i'd like to know, if anybody knows some manual, tutorial or>how
    getting started , in the program LabWindows/CVI 5 or other version, in>Internet
    . Thanks for your attention,and sorry for my English.>>
    Hi
    The book is ""LabWindows/CVI Programming for Beginners""
    Have a look on the following web site.
    Type LabWindows on book search.
    http://www.phptr.com/
    Also try Amazon.com at
    http://www.amazon.com/exec/obidos/ASIN/0130165123/o/qid=975622255/sr=8-1/ref=aps_sr_b_1_3/107-7675244-9336531
    You can also try EBAY if you like to bid on book.
    http://cgi.ebay.com/aw-cgi/eBayISAPI.dll?ViewItem&item=510511275
    Hope that help.
    Rejean Lafortune
    CAE Electronics Ltd.
    Avionics Interface Engineering

  • Manual or Tutorial of Labwindows/CVI 5?

    Hi everybdy, i'd like to know, if anybody knows some manual, tutorial or
    how getting started , in the program LabWindows/CVI 5 or other version, in
    Internet . Thanks for your attention, and sorry for my English.

    Here's a web site that should help:
    http://zone.ni.com/devzone/devzone.nsf/webproducts/a77c886190b47fd286256785006d6ca9
    I got here from ni.com/support, selecting Measurement Studio for the first pulldown and clicking on "LabWindows/CVI: Tutorials and Examples" at the top of the page.
    Good luck,
    Brad

  • How to use the checksumdll.lib in LabWindow/CVI to create CRCChecksum();

    Hi All,
    Any one know how to use the checksumdll.lib in LabWindow/CVI to create CRCChecksum() ?
    Thank you.

    Do you ave some documentation about that dll?
    Have you looked into dll properties searching for vendor name? Maybe you can look int vendorìs site and obtain some help.
    Ultimately: are you forced to use that dll or can you use any software to calculate the checksum? There are several CRCs that you can use: provided you know which is the type used you could find an algorithm to calculate the CRC and check an existing one.
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • How to set a DMA transfer type for PXIe-6536 in LabWindows/CVI?

    I have a PXI chassis PXIe-1078 with a controller PXIe-8115 running under Windows 7. The digital output board is PXIe-6536.
    I use a function DAQmxSetChanAttribute to set a property DAQmx_DO_DataXferMech to a value DAQmx_Val_DMA, since I want to use a direct memory access data transfer. This wokred well with a PCI-6534 board using the same LabWindows/CVI code before migrating it to the PXIe system.
    Unfortunately, running this code on the PXIe system reports a DAQmx error -200452: "Specified property is not supported by the device or is not applicable to the task".
    The task is created in the following simple way (the board name in MAX is 'Dev1'):
       DAQmxCreateTask ("digTask", &digitalTask);
       DAQmxCreateDOChan (digitalTask, "Dev1/port0:3", "DIG_CHANNELS", DAQmx_Val_ChanForAllLines);
       DAQmxSetChanAttribute (digitalTask, "", DAQmx_DO_DataXferMech, DAQmx_Val_DMA, 15);
    How can I solve this problem? How is it possible to choose between different transfer types?
    Thank you in advance for any hint!

    Hi CavityQED,
    The PCI-6534 is a "Digital I/O" board while the PXIe-6536 is a "High Speed Digital I/O" board, that's why they don't have the same properties.
    By the way you can use DMA transfer with this method :
    http://zone.ni.com/reference/en-XX/help/370520J-01/hsdio/direct_dma/
    Let me know if it helps you.
    Regards.
    Mathieu_T
    Certified LabVIEW Developer
    Certified TestStand Developer
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    LabVIEW Tour
    Journées Techniques dans 10 villes en France, du 4 au 20 novembre 2014

  • How to get bar graph in word in labwindow/CVI ?

    how to get bar graph in word in labwindow/CVI ?

    ashwinic9,
    spawning your question over more and more threads (the present one, this one and this other one) won't give you a faster answer; instead, it will irritate forum users! 
    Especially if you have at your disposal a fast way to perform a test. I pointed you some days ago to word report example, that writes a table to a word document: did you tried changing the graph into a bar graph and generating the report? I have done it for you and the result is OK, as you can see in the attached document.
    Now, since the example works well, there must be something in your particular situation that prevents the graph to be shown; that is: you must add some more data on your actual problem and maybe a small example that exposes the problem.
    But please: keep active only this discussion and let the other threads die! 
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?
    Attachments:
    wordreport.doc ‏38 KB

  • I used to working with Labwindow CVI and i would like to know how can i use the commands "loadpanel" and "Displaypanel " in Labview. Using Invoke Nodes?

    I want to make another panel appears and runs, but i don´t want to use a subpanel. So, i would like to use somenthing similar to Loadpanel and Displaypanel, that you can use in Labwindows CVI, but in Labview, is ti possible?I hope your answers, thank you!!!

    Hi Bichillo,
    I posted an example here.
    http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=137&HOID=50650000000500000014570100&HTHREAD=000087828&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0
    It demonstrates how to do what you are asking.
    I do not mind you laughing at the code.
    Have fun!
    Ben

  • How does the URL of DataSocket constitute?And how to use it in LabWindows/CVI ?

    Hi !
    There's a problem puzzled me some days.How does the URL of DataSocket constitute ? And how to use it in LabWindow/CVI ?
    For example.I have downloaded a code in http://zone.ni.com/devzone/cda/epd/p/id/3787.I want to make it work properly.So I configure my DataSocket Server Manger according to the URL of this statement.
    DS_Open ("dstp://weather.natinst.com/weather/current",
    DSConst_ReadAutoUpdate, DSCurrentCallback, NULL,
    &dsCurrentHandle);
     My DateSockket Server Manger is configured as:
    However,it could not work properly when I debug it.
    There's a introduction at the top of the code."You may need to replace the references to weather.natinst.com to 130.164.140.10 if the DNS isn't working properly."So,I modified the statement into
    DS_Open ("dstp://130.164.140.10/weather/current",
    DSConst_ReadAutoUpdate, DSCurrentCallback, NULL,
    &dsCurrentHandle);
    but,it did work properly.
    We want to communicate with other computers via the URL of  DataSocket in LabWindows/CVI.Whereas,how could we make it ia the URL ?
    If anyone could help me solve this problem,I would appreciate it very much !
    Best regards.
                     xiepei
    I wouldn't care success or failure,for I will only struggle ahead as long as I have been destined to the distance.

    Hi !
    Thank you very much for your reply! I will accept your advice.
    Besides,I have another question.If I want to visit other computers or other websites,how does the URL of DataSocket  I constitute ? Does the URL has any relation with the DataSocket Server Manger ?If does,how to configure the DataSocket Server Manager to let them connected.If they have no relation,how to use the DataSocket Server Manger ?
    After all,I want to know how to use it in LabWinows/CVI ?
    Thank you very much !
    Best regards!
    I wouldn't care success or failure,for I will only struggle ahead as long as I have been destined to the distance.

  • How to access the result list in teststand after execution using labwindows​/cvi

    I am developing a user interface in labwindows/cvi that runs multiple teststand sequence files and would like to combine their reports (generated in teststand) into a single file at the end of a UUT. What is the best way to do this? At the moment, I'm trying to access the result list local variable after the execution has ended using API calls from labwindows/cvi and an end-of-execution callback event but those run-time variables do not exist anymore. How do I get a hold of the result list array at the end of an execution? I would like to grab this variable and pass it along from sequence to sequence using labwindows/cvi and not teststand itself. Is this possible? Any help would be great.
    Thanks in advance,
    Luis

    Hey Luis,
    Check out the response to this thread at the NI TestStand board here!

Maybe you are looking for

  • How to give the seasonal discounts in pricing procedure

    Dear SD Gurus, Can anybody guide me how to map the below scenario A company wants to give the seasonal discount in a month.The first week it should give 3% discount on the purchase and the 2nd, 3rd,4th week should be 4%, 5%, 6% respectively.One more

  • I need help with windows 8 on my pc, PLEASE!

    HI, i have windows 8 on my pc. I've been playing games on my computer for 8 months since I bought it. I woke up the other day got on Big Fish to play my games as always, and ever time I push play it starts up then immediately goes back to the play. W

  • Planning Service Start Failure

    We were able to install and configure Workspace/Shared Services, Essbase, Planning, Financial Reporting, and OHS in our new 11.1.2.5 environment, all running on Red Hat Linux 5.8.  However, when we try to start the planning service, it gets stuck in

  • What are the User Exit Available after saving a Billing Documents

    Hi, What are the User Exit Available after saving a Billing Documents Regrds, Binayak

  • Corrupted ojdbc14.jar file

    I have twice attempted to download the latest version of the Oracle JDBC drivers. Both times, the files seem to be corrupt. Attempting to examine the ojdbc14.jar file contents with the following command: jar tvf ojdbc14.jar leads to the following err