Modbus protocol and NI DAQ Card

Hi,
I'm using an AC drive that supports the standard protocol Modbus RTU over RS485. I want to know if your data acquisition cards (eg. NI DAQCard-6036E for PCMCIA) are suitable to interface between this AC drive and a computer. Also, I will be using Labview to control and monitor the system.

Hi what,
If your AC drive uses the Modbus protocol over RS-485 then you will probably want to use the serial port or an RS-485 port to communicate with your AC drive from LabVIEW. I believe Lookout also comes with an OPC server which can communicate Modbus. Anyway, I suppose you could use the digital lines of the DAQ card to control your drive but it sounds like an RS-485 port (serial) would be more effective and easier than programming the DAQ board.
Anyway, hope that helps. Have a good day.
R

Similar Messages

  • Why do error comes when trying to use NI ISA GPIb and NI DAQ card (both PnP)together while they work well when one at a time?

    we configured gpib pnp and at-mio-64e3 cards (isa) in the same pc.gpib function was invoked to take the device to remote and listen mode.now when daq function getDeviceInfo is called the remote mode of the device is removed and after this it always shows no gpib board until pc is rebooted

    Hi,
    I have some questions:
    What OS are you using?
    What driver versions?. You can find the driver versions in the Windows Add/Remove programs utility. DAQ driver is NI-DAQ anmd GPIB driver is NI-488.2.
    Is there any error code?
    I haven't found any known issues between these two drivers. How are the board's resources configured? Base address, IRQ, DMA.
    Let see if with this information we can clear out what is going on.
    DiegoF.

  • I am using LV5.1 and a DAQ-card Computerbo​ards "CIO-DO96H​" (DO-card) since years.

    Is it possible to readback the outputstatus in LV 5.1?

    Chris:
    The answer to this question depends on the hardware you are using and also the driver software that LV is interfacing(supplied by Computerboards). The best thing is to check with them to see if the hardware and device driver supports readback functionality on the output ports.
    June

  • FPGA and DAQ card synchroniz​ation

    Hi, we are controlling and acquiring data from multiple hardware devices (including translational stages and photodetectors). Until last week, we used to peform all control and acquisition using a PCIe 7852R FPGA board. However, we decided to switch the acquisition part to a PCIe 6363 DAQ card to improve the voltage resolution. During testing, I found that the internal clocks in the FPGA and the DAQ cards are slightly mismatched (not just a phase delay, but a difference in time-period).
    I know this because I generated a square wave (period = 20us) using the FPGA and acquired it using the DAQ card (at a rate of 200kHz, i.e., 1 sample every 5us). I observed that the acquired square shifts by 5us every 5 seconds or so. Such a shift does not occur if the generation and acquisition is done using the same board. Therefore, the only explanation is that the clock frequencies of FPGA and DAQ cards differ. According to my calculation, percentage difference between their clock times must be 5us/5s = 0.0001%. 
    Therefore, I am wondering if there is anyway to synchronise the clocks between them. Or, is there a way I can drive the DAQ device based on the FPGA clock, or vice versa? Also, please let me know if there is something trivial that I have fix.
    Thank you very much.
    Regards,
    Varun
    Solved!
    Go to Solution.

    Hi GerdW,
    Thank you for your reply. 
    I understand both solutions you have suggested. I had conceptually thought about the first one (to control the sampling rate). However, I still haven't figured out how to accurately generate a 200kHz square wave - I think I can figure that one out this morning.
    However, I am unsure how to implement the second option. I presume the default internal clock inside the DAQ is running at 100MHz or so. Therefore, inorder to obtain the same performance while using an external clock, I would have to generate at least a 80MHz TTL clock-out from the FPGA. Could you please tell me how I can do that? I couldn't find any clock-out capabilities on my FPGA. Or would I have to generate a clock of my own using Single-Cycle-Timed-Loops?
    Not only did you provide two different solutions, your reply suggested that I wasn't wrong in interpreting that the clock periods of our FPGA and DAQ must be slightly off. 
    Thank you very much.
    Regards,
    Varun

  • Modbus protocol implementa​tion

    Hello colleagues,
    I need to use a PC with a LabVIEW application to serve as modbus master to talk to a single modbus slave that concentrates data from another modbus, where it is the master talking to around 30 instruments (slaves). I have no experience with implementing modbus protocol, and have downloaded the NI Modbus Toolkit. Does someone have experience with using this toolkit - there is no help/manual, and I'd appreciate an example diagram(s) showing me the typical implementation of the protocol (initiating modbus session, sending commands, reading data, ...).
    Thanks in advance,

    See this thread for the protocol manual.
    http://forums.ni.com/ni/board/message?board.id=170&message.id=197677&query.id=96682#M197677
    Attached is a serial query.
    Attachments:
    my modbus serial query.llb ‏518 KB

  • 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]

  • FSK Signal Generation DAQ Card

    Hello,
    Sorry in advance if this question is inappropriate for the boards, but I didn't know where else to go...
    I'm trying to generate an FSK Signal in labview.  I've seen that LabView has FSK modulation tools, but what DAQ card would I need to actually transmit the FSK?  My lab has 6070E and 6534 DAQ cards, could these do the job?
    As far as I understand, the FSK modulation vi converts an array of bits into an array of voltages (the FSK signal)... How do I actually output this?
    Thanks!
    Neil

    Hey Neil,
    Check out the following links that you will probably find helpful:
    - What Is Frequency Shift Keying?
    - DAQ-STC: Frequency Shift Keying (LabVIEW Example Program using an E-series DAQ board)
    - KB: Can I Perform Frequency Shift Keying (FSK) with NI-DAQmx?
    It looks like the example linked above works with E-series DAQ boards, which it looks like you have, so that is good. But it also looks like you will have to use the older version of the DAQ driver - Traditional DAQ, and not DAQmx.
    I hope this helps, and should hopefully get you started. Please let us know if there is anything other questions or concerns. Thanks, and have a great day.
    Regards,
    DJ L.

  • I use labview 8.0 and i can not run daqmx driver for pcmcia 6062e daq card

    i use labview 8.0 on window xp .when i installed a PCMCIA daq card 6062E, i could not run daqmx driver.It is fine to see that the traditional version is working well.When i install daq card sometimes it is working well with traditional driver  but mostly i see error on reading an analog input from PCMCIA daq device.An error called 'base adress' occures .I use last version of driver that is daqmx 8.0.1. and i have installed this correctly but again i could not  see any signal on the test panel for daq-mx driver.I don't know what is the problem.Also when i install PCMCIA daq card Please reply this message.I need your helps.
    Thanks

    Hello,
    Thanks for your reply.I will try to answer your questions.
    I have checked the Device Mananger and I have seen that the device is detected by Windows  XP.  For another question the card shows up under both NI-DAQmx Devices and Traditional NI-DAQ (Legacy) Devices consistently in the Measurement & Automation Explorer.I use a way that I reset the driver for traditional NI-DAQ in MAX,and then i reset the device for NI-DAQmx driver in MAX and again i tried to run the test panel of DAQmx driver but again i saw a wrong signal or noise signal on the test panel i could not see the sinusoidal signal that i connected. i do get the test panels to run with the card using the DAQmx driver,  But could not run the DAQ diagnostic utility.The error was as i specified below.
    03.05.2006 09:49:35
    Results saved to:  C:\Documents and Settings\serkan\Desktop\Diagnostic Results.txt
    Selected Device: Dev1
    Device Type: DAQCard-6062E
    Serial Number: 107509E
    Device Support: (PASS)
    NI-DAQmx Version: 8.0 (PASS)
    Device Reset: (FAIL)
    Error -50002 occurred at an unidentified location
    Possible reason(s):
    The specified device is not a valid device. The operation could not be completed as specified.
     ------ DIAGNOSTIC UTILITY ABORTED -----
    And for your last question i can say that i have used the DAQ card on other laptops.But the results were the same.İ hope to see your reply
    Thanks,
    Serkan Buhan
    Electrical-Elecronics Engineer
    Researcher
    TUBITAK-BILTEN

  • 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.

  • 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

  • Generating a tri state waveform pattern and writing into DAQ card

    Hi,
    I am using LV8.0 and NI-6259 DAQ card.
    I want to generate a waveform pattern which initially goes to +5v and goes to 0v and then again goes to -5v
    and finally goes to 0v. 
    I have used the waveform pattern generator and have generated 4 kinds of waveform with some particular samples
    and I will be appending all the 4 waveform patterns(+5, 0, -5, 0) and the appended waveform will be written into DAQ card.
    The problem is:
        When I probe CRO at the Analog output pin of the DAQ card, the pin level will be always at +5v and sometimes
        it goes to 0 and back to +5v. But I am expecting a waveform with 3 voltage levels i.e.., +5( some 100 samples), 0v(for some 1000 samples.
        -5v(same as +5v) and 0v( 2000 samples). 
    How to get this kind of waveforms in NI-6259 DAQ(M Series) card.
    Please find the attached VI which I have created.
    Letme know the loophole in the VI and correct way of generating a tristate waveform.
    Thanx in advance, 
     Yogesh
    Attachments:
    PWM_sample.vi ‏43 KB

    Hello YogeshaYS,
    Thanks for your post!
    I see that you are wanting to output a waveform that goes from 5 to 0 to -5 and then back to 0. It looks like from your code that you want to do this in a continuous fashion? If this is so you will need a while loop to output the waveform. Take a look at one of our shipping examples that shows how to do analog output waveform. Go to Help >> Find Examples. When here go to Hardware Input and Output >>  DAQmx >> Voltage >> Cont Gen Voltage Wfm-Int Clk.vi. Your VI works great but it only does the output once so that may be why you see some interesting results on your output. Let me know if any of this information helps you with your program. I was able to run it in a continuous mode and see the voltage levels go from 5 to 0 to -5 just like you were wanting. Have a great day YogeshaYS and please reply if you have any other questions on this. 
    Cheers!
    Corby_B
    http://www.ni.com/support 

  • Im using a pci-6221 daq-card.I want to know the difference(use)of a line output and a port output.

    Im using a pci-6221 daq-card.I want to know the difference(use)of a line output and a port output.

    Hello Hellraiser24,
    This question has actually been discussed in another thread here:
    http://forums.ni.com/ni/board/message?board.id=170&message.id=95895&requireLogin=False
    I hope this helps,
    E.Lee
    Eric
    DE For Life!

  • Which type of ADC is used in M Series, S Series and C Series DAQ Cards?

    Hi
    I want to know which type of Analog to digital converters(ADC) are used in M Series and S Series DAQ Cards. I know that DSA Cards and some C series are using Delta Sigma ADC. What about the ADC used in non delta sigma C Series modules. Why Delta sigma ADC is not used in M series and S series DAQ cards.
    Regards
    Samuel J

    Hi Samuel.
    The ADC type used is Succesive Approximation ADC. You can refer to the following links for your reference.
    http://digital.ni.com/public.nsf/websearch/32FD9AA817D0EBE68625708C005E1B26?OpenDocument
    Hope this helps.
    Thank You.

  • 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

Maybe you are looking for

  • In the table AIINSTALLATIONS the customer numer is missed

    Hi! I've got a small question: in the table AIINSTALLATIONS the field installation number is tilled out but the customer numer field is empty. Can you suggest me where I'm able to fix it? Thanks in advance

  • Itunes and pc formatting

    Hi I need to format my C drive and was wondering if i have to retain any folders to make sure my iphone 3g works ok afterwards, i've read that i need to keep a copy of my itunes folder to replace after re-install.? Cheers

  • Plugin Type

    Hello, in the FAQs of the Photoshop API's documentation it is said, that there are seven types of plugins, Import, Export, File Format, Filter, Selection, Color Picker, and Automation. Which category does a "controller plugin" match? I'm thinking of

  • Canon EOS 7D

    I currently am able to import data from my camera directly to iMovie without needing to render/compress (whatever) and start editing. I assume the change is made to codec H.264 by default. I am buying a Canon EOS 7D and want to know if I can import f

  • Diff between Error,Warning and Abort message

    Hi Friends Can any body tell the Diff between Error,Warning and Abort message Thanks