Machine using LabView trigger signal

The company I work for has just acquired a new machine which measure the size of the particles and other variables. The machine is supplied with its own program that records and analyzes the data. However, we want to get around that and read the data directly in LabView and so be able to filter, organize, and sort as desired.

Attached are pictures of the configuration of the machine. The red circle indicates the cable that connects the PC to the machine.

While the machine will operate its own, there will be no signals transmitted to the PC without a trigger command. It's my first question: how to provide the appropriate command of LabView machine so he can generate the right signals.

The manufacturer of the machine:

The colloidal Dynamics AcoustoSizer (AZRII) consists of a central processing Signal (EPSC) and unit of different sensors, shown in figure 2.1.  They are controlled by the application owner software that is running on a classical computer in MS WindowsTM based (PC).

Under the direction of the application, the EPSC generates pulses of sinusoidal voltage on a sequence of prescribed frequencies between 1 to 20 MHz. These pulses are applied to the sound Amplitude Electrokinetic and mitigation sensor (ESA), where they generate ultrasonic signals in the colloid.

These signals of ultrasounic, which contain information about the size of the particles and the load, is converted to voltage pulses by mitigation ESA probe sensors, and impulses are then directed to the EPSC for the signal processing. The processed signals are transmitted to the computer, as well as data from the pH, temperature and conductivity sensors. At the end of the measurement phase, the data are analyzed in the PC to determine the particle size and zeta potential.

Information on the measurement process:

A typical measurement sequence is as follows:

The PC issues instructions for the EPSC applied pulses of high voltage excitation frequencies prescribed the probe to ESA/mitigation.  This is according to two modes, the ESA, and mitigation.

The extent of the ESA, this voltage pulse is applied between two flat and parallel electrodes that are in contact with the suspension. The suspension runs vertically upward between the electrodes with a brace polyphenylenesulphide (PPS), the ESA probe. One of the electrodes is adsorbed on an acoustic delay line, opposite which is mounted a ultrasonic transducer thin.  The applied voltage pulse causes the colloidal particles (which are almost always electrically) to shake back and forth. This query generates sound waves, a phenomenon called the Amplitude sound Electrokinetic, or the effect of the ESA. The sound waves of the ESA spending since the suspension along the glass delay line. When they reach the end of the delay line, the soundwaves created tension through the transducer. The voltage pulse then crosses the EPSC signal processing circuit. The Fourier transform of the pulse is determined by the EPSC and then transmitted to the computer. This Fourier transform is a complex number with the two amagnitude and phase (or argument).

At present, we are measuring to thirteen different frequencies, at the end of the sequence of ESA measure we have so thirteen amplitudes of ESA and thirteen phases stored in the PC. This set of quantities is called the spectrum of ESA.

The extent of the sound attenuation of the output pulse EPSC is applied to a piezoelectric transducer. This generates a pulse of sound wave which passes through suspension.  This impulse and various reflections that come further in time are all measured, stored and analysed using the Fourier Transforms as in ESA measures.

At the moment, that we measure to 13 different frequencies, at the end of the sequence of mitigation so we have amplitudes of mitigation thirteen and thirteen phases stored in the PC. This set of quantities is called the spectrum of mitigation.

Any help would be greatly appreciated!

Kalyie wrote:

The company I work for has just acquired a new machine which measure the size of the particles and other variables. The machine is supplied with its own program that records and analyzes the data. However, we want to get around that and read the data directly in LabView and so be able to filter, organize, and sort as desired.

Attached are pictures of the configuration of the machine. The red circle indicates the cable that connects the PC to the machine.

While the machine will operate its own, there will be no signals transmitted to the PC without a trigger command. It's my first question: how to provide the appropriate command of LabView machine so he can generate the right signals.

Well, which depends on the Protocol of the machine.  Do you have the link susanianak provided that help any?  You will need to check the documentation mfg on the appropriate command to send to start the cycle.  This can be done easily with LV, but it needs to work with the Protocol set by the seller.  Your photo shows what appears to be a serial cable. Use the VISA for this.

I didn't see a second question.  Are you asking how to acquire information from the machine?  If you can find a driver for this hardware, as suggested SusanianaK, which would be preferable. You can build your own.  Since it's RS - 232, it sends the information in a serial data stream.  Refer to the doc for the equipment to see what are the parameters of the series.  If all goes well, your controller can work as a host and got the info as it comes.  But there may be a set of commands supported to extract it.

Tags: NI Software

Similar Questions

  • Problem updating my state machine, using the emg signal

    Hello

    I have problems with my code. My entry is an EMG signal that I gather from three different electrodes using usb 6008. In the program, I divide the signals and display them in a chart that is unique. What I want now is to read the signal, and if a signal passes a threshold I want an LED lights. This must remain lit until there is another signal that passes the threshold.

    To put it simply: "large enough signal--> lamp on--> stay informed--> enough large signal--> lamp--> stay off the coast and then start again."

    I tried a few different approaches, but I decided using a state machine. Now, the problem is that when the signal to enter the state machine the program crashes. I think it's because the table that I use to convert the signals does not update when I get my state machine, so the signal stops to come. But how to get around this problem? It is even possible to code what I want?

    I have attached the code. All the tips are welcome, I have been struggling with this for some time now.

    Thank you

    jenmich

    The problem is internal while the loop is run until the stop condition is true, but he never does a new Boolean entry. So that it remains for always in the same State. Remove the inner loop and put the shift register on the outer loop instead.

    You must also use a daqmx configures the element, and then set the properties of daq. The read.vi can be set to read a number of samples of each iteration.

    Also: you can expand the table to index for several items of output. If you want that element number 0, 1, and 2, you have yet to wire the index entries

  • AI sample clock using to Trigger counter samples

    My basic question is: the ai\SampleClock signal is active only during the execution of a task of analog input?

    The details are:

    I have a multifunction data acquisition card series X PCIe-6321.  It is controlling an SCXI chassis and has a module SCXI-1180 and SCXI-1302, so I can control the analog inputs of the chassis but also access to the meter 4 on the map.  My application requires that I use all 4 meters to measure a frequency input signal and synchronize the samples for the analog input signals.  I created 5 tasks, 1 for AI and 1 for each counter.

    I'm using LabVIEW 8.6.1 with the latest NOR-DAQ drivers on and the operating system 64-bit Vista

    1 are there drivers or hardware restrictions that cause this solution does not work?

    2. can I use the ai\SampleClock as sample clock of entry for each task frequency?  If I do this the beginning of sampling will be synchronized?  I.e. If I each task frequency first starts, they will wait until that task to HAVE it is started before you start sampling?

    3. If this does not work, do I need to send the sample clock of the task of the AI to a line PFI (PFI1) and then use it as the special frequency sample clock input?

    I used to do option 3 when the synchronization of two cards in PXI chassis and use only the beginning of the task of the software instead of synchronization on a digital departure, given that the sample clock will control samples anyway.  I need to know if the same behavior works with the above scenario.

    Thank you

    Bob

    Prolucid Technolgies Inc.

    Hi Bob,

    I can confirm that the AI/SampleClock is available only during the execution of the task to HAVE it.  As far as other issues go:

    1. you must provide more information on what you seek to do exactly, but there is no problem with the clock of the task of analog input sampling to be used with routing counters.  I had read through the section of the X series operating manual which deals with the measures of frequency clocked at sample (see page 7-16) for more information about what really happens during this configuration to make sure that it suits your needs.

    The frequency of the signal to be measured must be at least two times faster than the sample of your task clock to HAVE.

    2. you can indeed pass the signal on all four tasks at the same time (you can check the page peripheral routes in MAX to ensure the routing restrictions).  Sampling will be synchronized four counters are started before the task to HAVE it, but counters will be armed at different times unless you configure a trigger to begin arms (see page 7-45 series X operating instructions).  I would consider using the AI/StartTrigger if you want to do.

    The effect of not to arm the counters at the same time would be a different number of periods on average on each counter for the first sample (assuming an average is enabled).  Maybe it's not a major concern, but I just wanted to point out.

    3. the itineraries are available inside the Board of directors so external routing is not necessary, you can simply specify to use the sample clock of the AI for each meter clock and roads will be done for you.  If you want to export the signal on a PFI line and new route on another line PFI, this option is also available for you, but shouldn't be necessary.

    I hope this helps you get started.  I'll make sure to take a look at Chapter 7 of the X series user manual, if you have a chance as he described how all configurations of meter of working more in detail.  If you have related questions do not hesitate to post in return.

    Best regards

    John

  • How do I auto detects the target using the trigger VBAI mode

    Hello world

    I had a vision system of machine ready to take choose using VBAI 2013 sp1.  Also, I use a sensor switch to trigger the camera to take pictures.

    When I type the loop running, it just won't continue to take photos no matther switch sensor triggers the camera or not.  I think it's the step that I used for the recording of the image, in the stage of registration of the image, I used picture newspaper still, but I don't want to use which is only what inspection status allows no other choice.

    So, how can I let the unit wait until he got the trigger of the alarm switch signal, and then take a picture and save the image?

    the stage of inspection to acquire the image, I used the trigger mode and everything worked fine, except the time error settting upward, I used 5000ms and if I put bigger like the 50000ms, VBAI turned really slow and showed time out error.

    If anyone can help me on this matter?

    Thank you

    You can use the diagram States-transitions to go only in a State based on the result produced by some steps.

    First, remove the registration step of the image of the State to check with you get the image

    Press Ctrl + E to turn the main view on the state diagram.

    Right click and create a new State.

    Right click on the State to inspect and create a new transition to this new State.

    Double click on the transition to edit it.

    Choose to acquire the Image - waiting time and set the condition false, to spend in this state when there is no timeout.

    Move the default transition from that State to the final State.

    Click on the new State to select it, and then add the image registration step.

    Using a state diagram, you have programmed an inspection that will record the image when there is no timeout.

    The State-transition diagram is a powerful tool to add a logic, branching and looping of your inspection.

    Open the tutorial 5 - state diagram Branching.vbai and tutorial 6 - State chart Looping.vbai for examples on how to use it.

    I hope this helps.

    Christophe

  • Error in the capture of several channels using pre-trigger

    I have problems of acquiring data with pre-trigger samples during the capture of several channels, using hardware NOR-PXI-6071E and Analog Input VIs in Labview (inheritance OR-DAQ).

    My goal is to trigger a signal, while capturing another. Unfortunately, I can't use the PFI0 for external triggering, as our cables/material have already been built, so I have to use an analog input as the trigger channel. I understand that to do this I must capture the two strings and the string I want to trigger outside must be the first string in the list.

    If I trigger and capture on the same channel (I tried 1-4) then it works very well, regardless of the number of samples before relaxation together. If I capture more than one channel (the channel of the relaxation to a first), with no pre-trigger samples, then trigger and capture both work very well. However, if I do the same thing with pre-trigger > 0 sample I get the following error:

    Error-10621 to AI control. Possible reasons:
    NOR-DAQ LV: The specified trigger signal cannot be assigned to the resource for the trigger.

    I don't have to such limitation explained in the user manual, and the forum search, I found a few other people who have had the same problem but they had no solutions. Any ideas?

    Hi Jackson,

    Unfortunately, this is a hardware limitation when you reference analog trigger via one of the lines to HAVE.

    Please see this knowledge base. Particularly the second paragraph says

    The error-10621 appears immediately when the VI running if you try to assign scans of relaxation before while scanning multiple channels and using one of the entries as your trigger channel.

    Details are explained in the third paragraph:

    Because all the entries are multiplexed before being sent for analog triggering circuit, it is possible that the trigger on the trigger channel conditions might miss while the device is multiplexing by another channel. In this case, the trigger will not be detected.

    It is explained in the E-Series user manual page 10-3.  Specifically the second paragraph of the section entitled "Analog Input Channel".

    Eric S.

  • LabVIEW Express signal

    Hello

    I'm just starting to learn how to use labView: signalexpress and I'm looking for advice on a project.

    I tried to produce a signal in a loop with a "saw-tooth" ramp that lasts for 2 seconds, going from 0V to 1V and is followed by a 1 second pause of stimulation (between two sawtooth ramps). I'd be very happy with the direction of someone who can give me a brief step by step in the production of this specific model.

    Thank you!

    GYepes,

    The signal you want to generate is not a conventional signal, so you will not be able to create the signal directly in SignalExpress.  I would suggest creating an array of points in an ASCII file and then import this set of points in the SignalExpress stage.  Take a look at pages 3-1 to 3-8 in this document for instructions on how to do it: http://www.ni.com/pdf/manuals/373873f.pdf

  • waveform, with an average of results using labview to O-scope

    Hello fellow engineers! I'm a first-yeargraduatestudent in CHEE at the University of Houston. Basically, I know nothing about labview. I am trying to program an application that looks like this - I collect a waveform of the signal of O-scope. This waveform does not change its characteristic shape. I need to find the wave form average of waveforms of N (100 for example). Thus, the slight changes (or noise) in the feature of form during the period mustbeaveraged out and I need to have a resultant waveform that represents the average waveform over a period. So, basically, I'm collecting the wave several times (for example 100) on a single period. The O-scope that I use now is Tektronix TDS 2024 B. It communicates with the computer via USB. The version of labview is 8.5. For now, I am able to communicate with the computer using our o-scope through labview. I already downloaded the driver of instruments of your Web site. It turns out that the program can give me only the average result I can get directly from o-scope manually. I need to have more say on average (100) using labview. I wrote a program that relies on the instrument driver that is downloaded on your website (for loop part is average, the waveform). The program that I modified and an instrument driver are attached. The program cannot be fully open, if the driver is not put in the right place in the labview (under lib inst.) When I run the program, the average waveform does not appear on the front panal and signal waveform file is not saved correctly. Is there someone can find where I did wrong and it develop for me? Because I barely know Labview, it will be even better if you can add an image or program that you have changed. I'm waiting for your creative ideas.
     
    With the best regards,.
    --
    Weiye


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

  • How to view mdsplus data using labview

    I posted this question in the Council of Labview, but seems that nobody does it so far. I don't know what is the best place to ask this question. So I reposted here.  Thank you very much.

    I am a newbie to Labview. I'm writing a few vi to display and write data to Mdsplus.  I downloaded Mdsplus(labview) can discover Mdsplus functions, like mdsconnect, mdsput, ect, in vi to call a library function. But I have no ideal how to use it. I tried to use the Mdsconnect function to connect to a machine, but it still gives me an error like: Labview: an exception occurred in the external code that is called by a call library function node...  I was looking for help on the internet documents, but could not find anything useful. Could you please help me with this problem?  If you have examples of these vi, or teach me how it, it would be very useful. I'm using Labview 8 (windows). I would appreciate your help!  Looking forward for your reply.

    Oops,

    I attached properly in the previous post.

    Greg

  • How to program using Labview to an accelerometer

    Hello:

    I got an accelerometer which has digital I2C/SPI serial interface, so I bought a USB - I2C converter for data acquisition. I would like to know if I can use Labview to acquire data of com port and also program for the accelerometer to capture the data of the axis z. I have a box of white myDAQ NOR but SB. says that it is not an appropriate device to acquire before I2C/SPI signals. The datasheet of the accelerometer is in the accessory and the specification of the converter is this link: http://www.robot-electronics.co.uk/htm/usb_iss_tech.htm .

    I hope someone can solve the problem for me. It is best to use the software labview for me because most of my project work is based on that.

    Best regards

    The f

    Good and bad news.  You have an accelerometer that 'speaks' I2C or USB to I2C converter, so if you connect both of them, you can send 'orders' of your accelerometer easily of LabVIEW by using communication series live that's the good news.  The bad news is that it seems that you need to address your accelerometer using calls very low level, a work, I certainly don't want to face!  This crys on a 'pilot', a middle piece of equipment that does all the "hard work" to take a high level order ("Please tell me the acceleration") and he translates things your device includes (including the Setup program, records, calendar, packing and unpacking of the bits and bytes, etc.).

    Bob Schor

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

  • Do another counter for usb-6008 VI using Labview 8.5

    I want to create another counter for usb-6008 using Labview 8.5, it is necessary to calculate the two gears simultaneously.

    The best way to proceed is to use the meter.  The counter counts
    signals without having to interrupt the system or use the USB bus.
    When you ask the number of ticks that saw the meter, one
    request is thrown from the CPU to the USB line to the 6008, which then
    request counter "ticks how have you seen?  This number is
    returned on the USB bus, goes to the CPU and display on your
    screen.  Given that the DIO lines on the 6008 are software timed, it is
    no way to guarantee that the data back to the central unit is
    deterministic.  The conceptual difference between software-controlled
    DIO (that nondeterministically returns an entire stream) and a
    meter software-tick-application-controlled (which returns a unique number
    with the number of ticks) prevents us from using the DIO lines on the
    6008. the best way to count more edges is buying more 6008 s.
    Another possibility would be to buy a PCI card to counter such as
    the PCI-6602, who owns 8 counters. Most of the counters we offer in the
    USB form factor is 2 per device.

  • 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

  • stop using LabVIEW

    I use two machines (computers) and two separate projects for a single system, I would like to stop using LabVIEW 2010 64 bit... Is - is this possible?

    Exec-vi as mentioned and checkout system use the back command "shutdown-s".

    /Y

  • How to set a start and a trigger digital stop conting number trigger signals

    Dear all,

    This is an application for the acquisition of data that I don't know how to set triggers. The trigger signal is a sequence of rectangular pulses. A plot of X - is necessary. The interval between signals start of X are the same. So, I need to count signals trigger to know the value of X. And the value is analog signal. If the trigger interval corresponds to dx, my range of measurement is lying will begin with the rise of the m trigger signal - th with X = m * dx, then it stop at the rising edge of the signal trigger of the n - th with X = n * dx.

    But I don't know hot to make this trigger + counter. The attachment shows a schematic representation of the measure. Can anyone help?

    Thanks in advance.

    Best,

    Jiangjun

    Set the meter to measure the pulse in continuous or over mode according to your requirement.

    Use the source of synchronization as the trigger pulses & configure rates at least 100 times rate of relaxation. Then compare the value count against'm & n' & generate the impulse on the PFI lines or the port pins.

    I guess you know m & n values.

    The other way is to configure to tell it to count the no. rising edges. Then compare this number with'm & n' bones & generate the impulse on the PFI lines or the port pins.

Maybe you are looking for

  • As long as administrator I try to perform some tasks in a user account, was prompted to install an update for Adobe Reader

    But befor the updat gets installed window wants me to use the administrators password which when I input it accepts no for tasks that I'm trying to make, this is my first time using this user accot...

  • NAC Appliance deployment problem

    Hello We are going to deploy Cisco NAC Appliance 3310 clean access server in our network. Regarding the deployment, I have several questions. My questions are: Is that what we required any additional server as WSUS for correction/windows update manag

  • Router access log

    I wonder if there is a way to connect all users access to the router that indicates the user account and exploitation forest timestamp. I've implemented orders of logging config via a server Syslog in the following way: devices > activate device #con

  • BlackBerry smartphones reconfigure "BOLD" or 8900 for Verizon

    I bought a "BOLD" because I wanted the featuers and looks, but had to get through AT & T and their coverage is terrible for the areas I for business.  I have dropped the world calls experience.  My receives phone Verizon calls anywhere, but Verizon d

  • Script output user customized in JAR

    Hey all,.I am currently working on the project of default AP comes with BDUS. Currently, I'm working on how I can get all documents, regardless of how valid to be sent to the web check application so that a user can view the Bill until other measures