ID card of measurement computing DAQ using LabVIEW

Hello

Use card 1608FS USB with LabVIEW. I'm trying to find a way of checking the connection card when my application is initialized. I tried to use GetBoard.VI, but it gives the same answer, even if I remove the card in the port. Any idea on how to detect if the card is connected or not?

Thank you

Anil

Hi Anil,

Underlying InstaCal driver of MC allows logic card numbers to assign 0 to 99.   You can call GetBoard.VI for each number of the logical map that you anticipate may be used, which (as you pointed out) will get the name of the Board of Directors of InstaCal.   If the returned string is empty, the error returned is 1, then there is no Board configured in InstaCal for this issue of the logic board.   However, as you said, if the physical Board is not present in the system (like a USB on Board having previously set in InstaCal but currently unplugged or not powered, you will get the error = 0 and you will always have the string name.

So, to check if a card is really installed in the system, since the MC driver has no function equivalent to "is actually this Council?", you should try to perform a physical read to the Commission, then call TIN.VI (temperature), AI.VI (voltage) or DIN.VI (digital). If the returned error is = 0, then the Council is present.  If the error code is 1, the Council is not present.  If the error code is another number, then the test is somehow invalid (for example, ask to perform a function that is not supported on this board model, or on a port that does not exist on the map or the channel number).

Brent

Tags: NI Software

Similar Questions

  • find idle computer time using labview

    Hello...

    My process is based on Labview. It tests the process based on the vision. I don't want ON the continouesly of the machine, I planned to stop the machine when my PC is idle. To do this, I want to know how to identify the time of inactivity system using labview. So that I can stop the machine when the process does not work.

    Thank you.

    Assuming you are using Windows, you must use the Windows GetLastInputInfo API function that will give you the time.

  • Is DAQ Measurement Computing USB - 1608FS compatible with labview?

    I have DAQ USB-1608FS from Measurement Computing company, and I was trying to see if it is possible to use

    This data acquisition with labview 2012. I tried to download the drivers from their company http://www.mccdaq.com/usb-data-acquisition/USB-1608FS.aspx

    but when I tried to use labview in the DAQmx the DAQ tool is not detect it by LabView. So, if anybody out there knows if this data acquisition

    really can work with labview, please let me know.

    Their driver seems to be ULx http://www.mccdaq.com/daq-software/universal-library-extensions-lv.aspx

    and he said that he supports LabVIEW 2012. I suppose you open a sample and the device does not appear? The device is displayed in the Windows Device Manager? It seems that this driver/device will work, there may be just a few questions it initialize properly on your machine (either with Windows or Measurement Computing software). You must be to open a debate on their forums or call their support help line.

    Good luck! Let us know some of the above and, of course, let us know if find you the solution.

    -gavin

  • Determine what are the cards OR are installed on a computer using Labview

    Hello people,

    I hope that it is a matter appropriate for this forum.

    Is there a way to programmatically determine the cards OR are installed in a computer using Labview?  We have a limited number of test for material Exchange computers sometimes.  I would like to write a collection of Labview applications to know what hardware is installed and then perform some configuration based on the hardware settings.

    Best regards

    Chris

    Hello

    Looks like than what you may have here: complete peripheral extraction and list of channels dynamically.

  • Possible to use labview with daq system not of NOR?

    Hello

    I have a daq system and the software from another company that NEITHER. But I want some changes in the software. If the opportunity was to make a new program with Labview.

    Is it possible to use the old system of data acquisition? Is this compatible with Labview? Or I have to buy new hardware?

    Thank you.

    Hi VIassaks,

    Good afternoon and I hope that your well today.

    Thanks for the post.

    LabVIEW can communicate with 3rd party hardware using the library function call is located in the tip under the functions Palette palette. If your equipment is equipped with a DLL at the driver level LabVIEW can communicate with the hardware. However, you must obtain documentation of the DLL so that you can create your own interface for the material of the part 3.

    Another option would be if the hardware manufacturer provided LabVIEW VIs that control their material. You will not be able to use the screws (National Instruments Data Acquisition DAQ) because these screws use the DLL OR-DAQ, which is our software at the level of the driver for our DAQ cards. Other companies use their own software to the driver level to control their own material. Only the National Instruments hardware uses the NOR-DAQ driver that allows you to use LabVIEW DAQ screws.

    Hope this helps,

  • Using measure computing library UL (device USB-1208FS) with CVI

    Hello

    I'm trying to implement the system of company Measurement Computing USB-1208FS (www.mccdaq.com) in our test software tool which has been programmed in Ansi C using the CVI compiler.
    To make the first steps, I am building an executable based on the Ansi C «DaqInScan01.c» example code
    While I have no problem with the compilation of the code, the linker complains with errors shown below. Although the cbw32.lib is registered with my project, ICB seems not to be able to reference the functions of the library.
    What I am doing wrong?
    Is there the CVI samples available to guide me in the first steps regarding this device?
    I use WinXP SP3, CVI is version 9.01

    Thank you for your support

    Hello IEE_newsoft,

    Looking at the screenshot you posted, a recommendation is to make sure that the header file and library with the same name, also have you been able to call the dll or lib successfully in another environment, IE such as visual studio to check there is nothing wrong with the files. Also look at this Developers Zone,http://zone.ni.com/devzone/cda/tut/p/id/3453 it shows you how use a third party dll of CVI and http://zone.ni.com/devzone/cda/tut/p/id/8503 shows you how you can use either dynamic or static linking to call your dll.

    Hope this helps

  • Retrieve the names of the measures of the stage using LabVIEW

    How retrieve you the names of the measures a digital multiple of the step using LabVIEW?

    I have built a vi to be called TestStand and will pass the "ThisContext', but the vi is not complie.  That's how far I got.  The vi is attached.  The error message is:

    "The method selected in the invoke node is invalid or no method has been chosen.  Click on the invoke node and select a method. »

    My vi is an attempt to write the code of

    Normal
    0

    fake
    fake
    fake

    MicrosoftInternetExplorer4

    / * Style definitions * /.
    table. MsoNormalTable
    {mso-style-name: "Table Normal";}
    MSO-knew-rowband-size: 0;
    MSO-knew-colband-size: 0;
    MSO-style - noshow:yes;
    "mso-style-parent:" ";" "
    MSO-padding-alt: 0 to 5.4pt 0 to 5.4pt;
    MSO-para-margin: 0;
    MSO-para-margin-bottom: .0001pt;
    MSO-pagination: widow-orphan;
    do-size: 10.0pt;
    do-family: "Times New Roman";
    MSO-ansi-language: #0400;
    mso-fareast-language: #0400;
    mso-bidi-language: #0400 ;}

    message.ID = 10653 in LabVIEW.  More precisely:

    Normal
    0

    fake
    fake
    fake

    MicrosoftInternetExplorer4

    / * Style definitions * /.
    table. MsoNormalTable
    {mso-style-name: "Table Normal";}
    MSO-knew-rowband-size: 0;
    MSO-knew-colband-size: 0;
    MSO-style - noshow:yes;
    "mso-style-parent:" ";" "
    MSO-padding-alt: 0 to 5.4pt 0 to 5.4pt;
    MSO-para-margin: 0;
    MSO-para-margin-bottom: .0001pt;
    MSO-pagination: widow-orphan;
    do-size: 10.0pt;
    do-family: "Times New Roman";
    MSO-ansi-language: #0400;
    mso-fareast-language: #0400;
    mso-bidi-language: #0400 ;}

    Dim MyStep ACE [step]
    Dim MyMeasurement As PropertyObject

    MyStep =
    seqContext.AsPropertyObject.GetPropertyObject ("Step", 0)
    MyMeasurement =
    MyStep.AsPropertyObject.GetPropertyObject ("Result.Measurement [0]", 0 ")

    MsgBox (MyMeasurement.Name)

    Can someone help me complete the vi?

    Thank you

    Thank you very much.

    A small change to the vi required.

  • Programming computer laptop Wifi using Labview

    Hi dear all, can someone guide me how can I program my laptop computer Wifi module to send and receive data through Labview programming. What tools or drivers should I me take his Express or other screws are visible in Labview. If possible, some codes an example or link to that knowledge base. This will help me understand the concepts of programming Wifi. Thanks Zdzislaw qureshi

    Hi dear Dennis Knutson,

    I tried screws from TCP/IP and to understand. But how can we make our PC Access point using Labview? Are there any specific screw init or some additional toolkit required to do this. Actually I want to PC to become the hot spot to be connected. My app will then scan him in serach and then sign in to do some data send and receive actions. You have little help for me in Labview.

    For the wifi connection, I need to use the method of connectivity to Microsoft. How can I do this by Labview. I understood how to put IP LAN to detect in Labview only once I'm connected to the other PC via LAN wireless and wireless.

    Thank you & best regards

    Zdzislaw qureshi

  • Using labview, how do I access the card chip with the smart card reader?

    Hi all

    I read some of the 2006 post, it helped me some what but I'm still stuck.  I can communicate with the card reader SCR335 until getting the list of card reader.  When I use the winscard.dll to get the status of the card, I get '6' which means nothing to me.  I'm including what I've done so far, but I still need to read the card chip.   I had also used two third-pary active X control but not anywhere either.  One of Priore and SCardX_Easy 1.  Thanks in advance.

    Peter N


  • How to use Labview for measuring the reflectance at different wavelengths automatically

    Hello!

    I'm using labview to communicate with MS257 (a monochromator). If I do not use Labview, I have to use the hand controller (set a wavelength from 300 to 1100 under a grating (a total of four grids).) It takes a lot of time. So I want to use labview to realize the automation. But I don't know how to do, I still can put only a wavelength as a command for MS257, not making any difference.

    Does anyone know how to deal with this?

    Thank you for your time.

    So where are you stuck? It is a fairly common task. Inside of a loop, you can increment the "xxx" and build a table of responses. Look at the Format function in the chain and a knot of shift register/feedback.

  • Complete equipment of simulation using LabView, Multisim, and MAX (easy answer accepted!)

    Hello, all!

    Sorry, I'm new, but I checked around for a definitive answer on this, but I'm not 100% sure.  I learn LabView for a physics of upper-division course.  We use hardware (DAQ - MX) and a mixture of laboratory equipment - mainly stuff such as voltmeters, oscilloscopes and test setup with simple components.  I also work with NIM instrumentation, but that's secondary to my needs here.  So, when I'm away from the school, is it possible to make a complete simulation of my classroom work using LabView, Multisim (for my model) and the measurement and Automation Explorer (for the acquisition of data-MX)?  I know I can create a circuit and drop it in Labview, but I'm not sure on the acquisition of data.  I hope for what is a "seamless" reconstruction of what I do in class.  I can't take a simple 'yes' or ""; as long as I know it's possible, I can find the solution.

    Thanks for the help!

    I wrote 'sim' screws in many situations where I need to work away from the hardware store.  I think that MAX has a few features, but you may be limited in the types of signals, you can simulate.

    For my sim screw, I make a copy of the original VI with ".sim" added file name.  I also change the icon in a characteristic way to identify the version of the sim card on the BD. In this way the two VI have the same connector pane and are interchangeable on the BD structure. disable the diagram can be your friend here. Inside of the VI of sim, I generate the signal in any form I want.  You can also add additional if necessary controls.

    Lynn

  • order a motor, using labview

    What are the components do I need to order an engine step by step using labview?

    AlSi, I have a box or-usb-4431 daq. Who will be of any help?

    If his computer then,

    Material: PC > PCI card movement > UMI - 7774 > Motor Drives > stepper motor.

    Software: LabVIEW.

    Better, you can consult with an engineer of NOR. They can guide you better.

    Kind regards

    Leila

  • Time real ADC/DAC for SMPS by using Labview and USB

    Hi all

    I asked the Sales Department of this same question, so here's a two-pronged approach:

    I am reserching a control algorithm for power switching, and so far, its performance simulations seem to be good.  Now, the goal is to implement the circuit from the experimental data.

    I've seen several NI USB DAQ boxes that seem to have the performance, I'm looking for (for example, the box USB-6211 a sampling rate and resolution I need).

    The control algorithm uses the following mathematical functions: add/sub/mult/div/exhibitor and derivative/integral.

    My question is this: is "strong enough" Labview take four-channel data 250Ksps, crunches the numbers in an equation and spits out the answer to an analogue on the channel, while time REAL?  I'm looking for a rate of analog output of ~ 100 kHz.

    Thank you for any suggestions you have!

    -Rick

    Hey,.

    So if you were trying just to perform an input or output, then the box USB-6211 would certainly be able to treat it as the machine clock could manage the inputs/outputs, no software. However, what you are wanting to do, basically a feedback system, he will have to avoid (at least to a USB device) because you need to be able to specify Active which is the output. So, for this reason alone and the fact that you want out of 100 kHz, this device and the USB devices in general will be not an option any what software you use, LabVIEW or otherwise. On another note, you want to make sounds more like live update, not in real time, which is more on the jitter. Bottom line, for these kinds of requirements, you might need to move to an FPGA card, something like the NI PCIe-7841R would work. It's more expensive, but for your needs, FPGA will be the only option and it comes down to the latency of the bus, but also the response time of software. With FPGA, as shown in the first scheme of the following document, you basically close your software through hardware loop.

    Basics of FPGA

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

    -Ryan S.

  • Deal with failure when using LabVIEW 2011 and DSC MODBUS communication

    I'm currently reading from operating records a PLC with MODBUS/TCP. I confirmed that the PLC will update the values and in response to a MODBUS communication correctly by using a third-party program called Modbus Poll. However, when I try to query the PLC using the LabVIEW shared variable engine, I am unable to read the values of the same addresses that I consult with Modbus Poll.

    My installation is simply to a PC directly connected to the controller via Ethernet without a router between the two. I'm using LabVIEW 2011 SP1 with the DSC module.

    I opened the Manager of distributed systems OR to display the State of all variables in the Modbus Library that I created, and I noticed that the ILO CommFail permanently the value 'true '. All other variables with a 'read' access mode signal "failure of process". I tried to restart the process and stop and start the local variable engine without success. I also restarted my computer several times to see if any services did not exist, but this does not appear to have solved the problem.

    Finally, I resorted to listening to communications on the network card I have the PLC connected via Ethernet using Wireshark and found that while Modbus Poll communicates with PLC, number of MODBUS and TCP packet is sent and received. However, when using only LabVIEW or the DSM OR communicate with the controller, there don't seem to be any communication on the network card.

    Something that may be interesting to note is that I could communicate with the PLC and to read values with the DSM just once, when I understood everything first what address I should be reading of. All of this has stopped working shortly after. Prior to this, 'CommFail' was not generally set to 'true' with my current setup. Thinking it was my firewall, I have since disabled my firewall, but this seems to have had no effect on the problem either.

    Any help on this would be appreciated.

    So, I thought about it. It turns out that the IP address of the server i/o MODBUS must be set to the address of the MODBUS slave, not the local computer. The address of the i/o MODBUS server is defined by the navigation in the Explorer window projects, expanding the variable engine shared library for MODBUS and right click on the server MODBUS (for example Modbus1) item and select Properties.

    In addition, the addresses seem to be shifted by + 1.

    Thanks for the tip so.

  • How to control an electric motor using LabVIEW?

    Hello

    is there a simple way to control the rotation speed of an electric motor (12V) using LabVIEW?

    I have an idea how to achieve this using the card OR measurement, its not that cheap. Any ideas?

    Maciek.


Maybe you are looking for

  • When will it be compatible with Norton Toolbar Firefoxx 33?

    I just downloaded Firefox 33 and it is said that Norton Toolbar is not compatible. When or even not at all is it? I need for all my passwords/log ins.

  • Can I get the MAC address for my lost iPad?

    I think I left my iPad Pro in the street today while loading and led away.  When I realized it, I rolled back, but he had disappeared. It's a Wifi model only, so find my iPhone will not be much help.  However, my local ISP is a service where you can

  • Simple question == PCI x 16 vs PCI x 16 "2.0".

    Hi I have a Presario SR5310F I want to upgrade with a video card.  I want to really just to speed up my system and maybe play more than a few games.  When I went to my usual provider (newegg) I noticed that there are many more PCI x 16 2.0 cards avai

  • HP Pavilion a700n Memory Upgrade

    I always use my HP a700n computer Pavilion. I would like to know how to upgrade the memory maximum.  Warranty service, I said I have to get the chip memory of the manufacturer. How can you help me with this dilemma?

  • Port stuck

    I have a problem with a switchport on a N2048P. The port no longer works. This is my test port. The last thing I did, has been reconfigure trunk to access while it was up. After that, the port would send all traffic. I tried: 6.1.2.4 to the 6.2.1.6 u