Compatibil​ità tra "tradition​al Device" e "DAQmx"

come si può utilizzare un file basato su "Traditional Device", nel quale i device sono individuati da numeri (1, 2, 3, ...), con un device "non Traditional" identificato con "Dev1", "Dev2", ...??
Ho costruito un eseguibile (con Application Builder) partendo da un vecchio file, per acquisire diversi canali analogici. Il file originale è stato utilizzato con schede di tipo Traditional, ora l'eseguibile deve funzionare su un PC che ha una scheda di nuova generazione. Il MAX non presenta la vaoce "TraditionalDAQ" e quaindi non riesco ad indirizzarmi sulla nuova device che è identificata come Dev1.
Come devo fare? Devo rifare il file?
Se provo a sostituire il blocco di gestione della scheda, con uno di nuova generazione, succede un "casino" xchè non hanno le stesse connessioni.
Grazie
Mauro

Se in MAX non appare la cartelletta "traditional nidaq devices" significa che nessuna scheda supportata da questo driver è installata sul PC.
I vi che utilizzano Traditional NiDaq, non possono essere usati con schede che non sono supportate da quel driver. Quindi ti toccherà modificare il codice della tua applicazione per utilizzare il driver NiDaqmx.
Dal post sembra utilizzi LabView, in questo caso esistono dei VI ( Traditional NI-DAQ Compatibility VIs ) che permettono di utilizzare un vecchio VI (con funzioni traditional nidaq) su schede supportate solo da DaqMx con minimi cambiamenti (sarà comunque necessario partire dal .vi, testarlo e in fine ricreare l'eseguibile).
Se ti servono maggiori informazioni prosegui il thread, se scrivi in inglese avrai molte più risposte da sviluppatori di tutto il mondo.
Ciao. Nicola.
--TRANSALTION--
The question was about how to use an executable based on Trad. NiDaq with a board supported only in DaqMx.
I answered that he'll need to modify the code (using DaqMx) and build the executable again. If all was developed with LV I suggested to try Traditional NI-DAQ Compatibility VIs.
Bye.
NicolaC

Similar Messages

  • Using daqpad 6016 as traditional nidaq device in place of SCB-68 and daqpad 6020e?

    Is it possible to configure the daqpad 6016 as a traditional nidaq device? I have an application that was created 3 years ago that uses a SCB-68 for signal conditioning and it's connected to daqpad 6020E. Two virtual channels are used by the application which measure displacement and pressure from the analog inputs.  I also have 3 daqpad 6016s here that were intended to be used with the application mentioned above for duplicate test stations, but they appear as nidaqmx devices and are not compatible with the application created apparently.
     I'm a newbie with labview and I don't have the source code for the application to modify. If I can't use the 6016 daqpads with the application as is I'll have to order duplicates of the scb-68 and daqpad 6020E. Thank you.

    Hi jarencibia,
    It depends on the complexity of the application to determine how difficult it would be. The API is not a 1 to 1 conversion but check out the following article for a start.
    Transition from Traditional NI-DAQ to NI-DAQmx in LabVIEW
    http://zone.ni.com/devzone/cda/tut/p/id/4342
    PBear
    NI RF

  • Need help in converting Traditional DAQ subvis to DAQmx configuration

    i need to convert these vis (of traditional NI DAQ) to be used with a new DAQ card that supports only NI DAQmx.
    please help me in this..
    Can i use the same traditional NI DAQ VIs with NI PCI 6221??  if so how can I? does this device can be configured for traditional NI DAQ??? 
    Kudos always welcome for helpful posts
    Solved!
    Go to Solution.
    Attachments:
    traditional ni daq vis to daqmx.jpg ‏1857 KB

    NI has several resources to help move from tradtional DAQ to DAQmx. A good place to begin is the Getting Started page. There is a tutorial on how to transition. There is also the compatability VIs that replace certain traditional DAQ functions with wrappers around DAQmx functions. The DAQ example you posted is pretty trivial and really should not take much time to convert once you get a basic understanding of DAQmx.

  • PXI-6534 Card using Traditional Legacy Card to DAQmx driver

    I don't know where to start..I am stuck on an issue that needs to be solved.
    I am using a Traditional legacy driver on a PXI-6534 Card.
     I want to move it to using the DAQmx driver.
    Can someone point me to the right direction?
    Thank you..
    Best regards,
    Krispiekream

    i read over the link you provided and i can see that changing it will take a while.
     some of the examples given didn't cover all the questions i have.
    can you see my vi and see how would i change that to daqmx?
    Message Edited by krispiekream on 02-24-2009 03:34 PM
    Best regards,
    Krispiekream
    Attachments:
    Traditional to DAQmx.vi ‏31 KB
    untitled.PNG ‏8 KB

  • Does NI PXI-6259 support both Traditional DAQ and NI-DAQmx of Labview 7.0 Express?

    I need to buy a Multifunction DAQ board which will be supported by both the Traditional and NI-DAQmx of Labview 7.0. Is the NI PXI-6259 appropriate for such application?
    Thank you.
    Ujwal

    M-series boards are not supported by Traditional NI-DAQ. Stick with the E-series if you require Traditional support.
    John Weeks
    WaveMetrics, Inc.
    Phone (503) 620-3001
    Fax (503) 620-6754
    www.wavemetrics.com

  • Change traditional DAQ code to DAQmx code

    Dear sir/madam,
    I am in trouble.
    This code is written using traditional DAQ but I want to chane DAQmx version.
    I do not know how to code using DAQmx because traditional DAQ is very different for DAQmx.
    Especially, ' AO clock config.vi' of traditional DAQ is what does this fuction.
    I can not know how to change it.
    Please advice.
    Bill,
    Attachments:
    version.vi ‏21 KB

    Look at Transition from Traditional NI-DAQ to NI-DAQmx in LabVIEW

  • Can we create a simulated DNet device with DAQMX?

    I had no access to the Dnet interface today so I was thinking if there was a way to create simulated dnet devices on which I can run tests on. I did some searching and I found none. If you guys have any useful resources that would be really helpful. Thanks. 
    Labview Learner

    Ashaironix,
    I couldn't find any documentation or examples of MAX simulating any of our Dnet devices. Since our PCI-DNET devices have been end-of-life'd, I suspect that simulation of these devices cannot be done in MAX.
    Kirk L. | Applications Engineer | National Instruments

  • How to simulate a traditional DAQ device in MAX?

    development system- labview 7.1
    daq driver --traditional NI DAQ  driver
    Kudos always welcome for helpful posts

    thanks  akshanth !!
    Kudos always welcome for helpful posts

  • Up/down count edges: traditional daq vs daqmx

    Hello,
    I've inherited a program that uses an encoder to read the position of a torque-arm.  The program uses traditional daq.  The encoder position data is read using "Counter Read Buffer.vi".  Then, by simply casting the output of "Counter Read Buffer.vi" to an I32, the position data can be either positive or negative.
    1. Is this a valid method of using "Counter Read Buffer.vi"?  (I wonder because if I capture data as I move the torque arm back and forth, the data suggests that the encoder is not moving back to zero counts each time.  For example, the first time the arm is moved through its range, it might go from 0 counts to 100 counts; the second run may be from 10 counts to 110 counts, the third from 15 to 115 and so on).
    2. Is something this simple available in DAQmx too, or do I have to monitor each encoder point that I read to detect when the counter rolls over and handle it manually?
    Thanks in advance for any assistance!
    Chris

    Hello Chris,
    For the answer to your first question, this may be an issue with the DAQ device you are using. What exact device are you using?
    For the second part, the Measure Angular Position VI, found in the Example Finder under Hardware Input and Output»DAQmx»Counter Measurements»Position, is a good quadrature encoder VI for reading angular position.
    Try using this example and see if the behavior is different between the Traditional DAQ and NI-DAQmx code and let me know how it goes.
    Regards,
    Dan King

  • Number of NI-DAQmx devices

    Hi,
    I would like to know the number of devices (NI-DAQmx Devices)I have
    installed in my system (those that appear in measurament and automation
    explorer), How can I do it?
    I want to do that because I need to kow if there are NI-DAQmx Devices installed in my system.
    I use LV7.
    Thanks in advance,
    Toni.

    tonitpp said:
    "those that appear in measurament and automation
    explorer"
    then if you have installed MAX you can see what devices you have installed in your system, only open MAX and go to My System >> Devices and Interfaces, there would appear "DAQmx Devices" or something like that

  • Problem with DAQMX on a 6025E !!

    Problem with DAQMX on a 6025E
    I work on a DAQ 6025E and I can't use the example "Write Dig Port.vi" and all others example on digital output with DAQMX. There isn't any hardware failure because the same installation functions correctly with the traditional DAQ. I want to use these channel parameters: Dev1/port2.
    I already tested to make a reset device and use "line or port configuring vi" but without successes.
    Thanks for your help!
    Attachments:
    Write_Dig_Port.vi ‏48 KB

    I took a look at the example you attached and it looks fine. Here are a few things to try out BEFORE running the example from MAX:
    1) Remove any SCXI, SCC, and accessories from the configuration in MAX so that no DIO lines are reserved for communication.
    2) Reset the driver to work in DAQmx mode for your board. To do this, first right-click the "Traditional DAQ Devices" and say "Reset Driver" and then right-click your 6025E under DAQmx Devices and say "Reset Driver" again. This should enable the driver for DAQmx.
    3) In MAX, under DAQmx Devices, run the test panel and make sure you can read/write all the DIO lines there first. If that works fine you should be able to run the example.
    Remember that the port names for the 6025E are Port 0, Port 2, Port
    3, and Port 4 (no Port 1).
    Good Luck!!!
    Sincerely,
    Brooks Bailey
    Application Engineering
    National Instruments

  • Tradition DAQ installed but unavailable

    Hello,
    I have a system that had LabVIEW v6.0.2 executables running with NI-DAQ 6.9.3f3 with a PCI-6052E.  I have now installed LabVIEW 2009 with both Traditional NI-DAQ 7.4.4 and NI-DAQmx 8.9.5 on this system.  My 6052E shows up in MAX under both NI-DAQmx Devices and Traditional NI-DAQ (Legacy), but under Legacy, the 'Test Panels...' button is grayed-out and if I get the properties of this device, the subsequent dialog's 'System' tab has the resources box grayed out as well as the 'Test Resources' and 'Run Test Panels' buttons grayed-out.  I've tried resetting the device under DAQmx, but it doesn't help.  I have run a self test of the 6052E by right-clicking the device under DAQmx and it passes.
    Another problem I've noticed is when I try to run any traditional LabVIEW DAQ example, I get the following error repeatedly: "Error loading "C:\Program Files\National Instruments\LabVIEW 2009\vi.lib\Daq\lvdaq.dll".  A dynamic link library (DLL) initialization failed."  This occurs for every traditional DAQ VI that tries to load.
    LabVIEW DAQmx examples load and run fine.
    This sounds like a corrupt NI-DAQ (Legacy) installation.  My goal is to get my code running under the latest NI-DAQ (Legacy), and then transition to DAQmx. What is the best way to proceed getting this new NI-DAQ (Legacy) to run?
    Thanks,
    Greg 
    Solved!
    Go to Solution.

    Got the problem solved by repairing the NI-DAQ 7.4.4 (Legacy) install via Windows 'Add or Remove Programs'.
    Greg 

  • Can I acquire from more than one device at once using Labview?

    I have two SC-2345 boxes. One is device 3 and one is device 4. Can I acquire from both of these boxes at once? I know for most of the AI functions you just put in one Device number. But what if I want to acquire from 32 channels at once? How would I do this? Your help and tips are appreciated.
    ALSO- If you know about SC-2345 boxes, how many Analog input channels can I use? I see 8 slots for AI and the other 8 appear to be for signal conditioning. Can I still use these for AI? Could I have 16 thermocouple modules in one box?
    THANKS!
    Lauren

    Lauren,
    Yes, you can simultaneously acquire from both devices. However, each device will require its own analog input task. Furthermore, if you want to synchronize the acquisitions, you will need to connect the DAQ devices that are cabled to the SC-2345s with a RTSI cable. Below, I have included a link to a KnowledgeBase detailing RTSI:
    KnowledgeBase: What is RTSI?
    In order to understand the required programming structure, you may want to examine the following examples that are available in LabVIEW (one uses NI-DAQmx and the other uses Traditional NI-DAQ):
    NI-DAQmx
    Multi-Device Synch-Shared Timebase-Cont Acquisition.vi
    Tradi
    tional NI-DAQ
    Two E-Series Shared ScanClk.vi
    With regards to your second question, the SC-2345 provides access to 16 analog input channels through 8 modules. Most analog input modules have two channels. However, both of the SCC-TC series thermocouple input modules only have one channel because the other is used for the built-in CJC sensor. Thus, using the SCC-TC series modules, you will only be able to acquire from eight thermocouples with a single SC-2345.
    Good luck with your application.
    Spencer S.

  • How to find Device ID?

    How do I find the device ID of my CAN card and RIO card (or for anything else)?
    I use MAX 4.5 and LabView 8.6.
    Thanks.
    Solved!
    Go to Solution.

    Hello moonlotus,
    Here is a community example that allows you to identify the DAQmx devices on your system programmatically in LabVIEW.  here is an example that allows you to determine both traditional DAQ and DAQmx devices on the system, which your devices are DAQmx.
    Your best bet is to take a look at these examples, and try to implement a DAQmx Device Property Node as you see fit for your application.
    Best,
    Adam
    Academic Product Manager
    National Intruments

  • Windows does not automatically install legacy PCI device

    I am using labview 8.5
    I made an installer that includes both NI-VISA and the traditional(legacy) device drivers.
    However, when I put in the card (PCI-6023E), windows Vista wasn't able to locate the drivers.
    Is there a way to set it up so this is automatic? If not, what are the drivers called so I can manually select them from the hard drive?

    According to this page, VIsta requires that you use DAQmx, not the traditional drivers, for the PCI-6023E. Last I heard the traditional DAQ drivers are not compatible with Vista, nor are there any plans to make them compatible with Vista.
    Note: Switching to DAQmx will, of course, require you to change your code.
    Message Edited by smercurio_fc on 09-23-2008 03:47 PM

Maybe you are looking for

  • How do I use the a command from a .dll with labview?

    I want to use for example the M8784Open() command to control an M8784 photon counter.  I know how to place a call library function node but don't know where to go there. The user manual for the photon counter has the following explanation of the M878

  • HT1651 I can no longer add new music to my itunes account or update the software on my macbook b/c there's not enough hard disk space.  What do I do?

    HELP!!!  What do I need to do?  New hard drive, more memory, external hard drive?  I would like to transfer my itunes library to an external hard drive to free up space and continue to add to itunes, but if I transfer my current library do I lose it

  • XSLT Mapping for creating Excel files

    Hi , I am following the blog /people/michal.krawczyk2/blog/2005/12/10/xi-generating-excel-files-without-the-java-nor-the-conversion-agent-not-possible by Michal regarding conversion of Flat files to Excel file format. My input xml format is         

  • NX8600GTS - Diamond Plus HDMI Problem

    I have this new video card and am trying to connect a single display via HDMI only.  I do not wish to use DVI.  I'm having difficulity in setting this up properly.  I need help.  So far the only way I can get this to work is using Dual Display option

  • Networking Macbook to printer

    so i rencently got a new macbook and am new mac user. I have two PCs with one connected to a router and the other using a dlink adapter to connect to network. The computer with the adapter has a usb printer connected to it. I was wondering if there i