Has anyone used the TM-3000 from Keyence through LabView?
Do you have a simple example program that I could use as a starting point?
Thank you in advance.
Has anyone used the TM-3000 from Keyence through LabView?
Do you have a simple example program that I could use as a starting point?
Thank you in advance.
Im building a front panel with 46 controls and indicators, all boolean type.
the logic is control > send serial command > receive > set indicator. i attach part of my front panel (with 2 sets of control and indicator) and my block diagram.
i need to be able to control programmatically and from the front panel the control status and the indicators, individually or all by once (e.g. to reset them at once). this should be achieved from the tab they are in, and from another one.
thought of property nodes but still i would have 46+46 of them. same for local variables.
is there i way to refer to a control/indicator by its label(string) and change its value?
would it be easier to create two boolean arrays that hold their boolean value?
please advise me about the options i have. i'm new to labview.
thanks in advance.
Hi all,
I am currently facing a problem. I want to evaluate an 6 order polynom in the FPGA (Actually this function will be part of a larger VI). Here is what I implemented :Tab Coef contains the 7 following coefficients (coming from the RT) :
2734.91
53.4378
-2.02666
0.0463295
-0.000588338
3.71736e-06
-9.06681e-09
When I sent this VI in the Compile Worker 2013, I get the following error :
LabVIEW FPGA: The compilation failed due to resource overmapping.
The FPGA VI does not fit on the FPGA target because the VI requires more resources
than are available.
Suggestions for eliminating the problem:
* Reduce the amount of logic in the VI
* Reduce the number of multiplications, FIFOs, and/or amount of memory on the block diagram
* Reduce the number of objects on the front panel
* Change arbitration settings
* Use Timed Loops instead of other loops
* Use Timed Loops for resource-intensive sections of the block diagram that
do not require any looping
I don't know how to solve this problem... Any Idea ?
Thanks a lot !
Tom
Hi,
I have 2 questions about current/voltage limits,
1. I want to verify what is the default currrent limit of nihsdio at ni 6556 when playing a digital wavefrom (as shown in the pic -digital output voltage), and how I can modify this current limit?
2. I want to set a non-simatric voltage limit on niDCpower 4141 (for example to limit the voltage betweeen 0 to 2 [V] and not between -2 [V] to 2 [V] - see pic). is there any way to do this?
thank you.
Adi
I have trying to read three signal at the same time with NI 9234. But I have problem with the buffer, I have read about this error and tried all the possible solution that they gave (increasing sample per channel or increasing number of sample per channel or decreasing the rate) but still nothing. I also try a Producer/Consumer Design Pattern architecture but nothing, it still get that error. Can somebody know how to fix it?
Hello!
Using line profile, i've obtained a curve representing the trend of pixel on an image, now i want to apply to this curve a polynomial to get a more linear trend eliminating the disturbs; but before doing this i have to select(interpolate?) some points of this curve(this points will be the input of my polynomial). How can i do this?
Hi,
* I have attached a screen shot of a GUI that I am trying to build. Is there a way to replace to the pointer of slide with a Custom image (like tag in the screen shot)?
* The scenario is that when a worker enters a proximity of a machine, an Alarm must be indicated. Their position relative to machine should also be updated on screen. Is there another better way of doing it other than the slider which I have used?
* Can the pointers be made visible dynamically only when they enter the Green zone?
* Is there a way to add pointers dynamically, say when another worker enters the green zone?
boy, that's lot of questions..
thanks
Goku
I am trying to capture one cycle from a larger signal. In the larger signal, I capture 16,000 (about 89 miliseconds) points to ensure I get at least one pulse. Then I run the signal through the Trigger and Gate Express VI. I want to create a waveform with about 30 samples before the trigger and about 30 samples after.
My problem is that the triggered measurement output sometimes gives me 1, 2, or even 3 pulses. I believe that I have set it up correctly. To my understanding, the "Reset after each trigger found" should only output the data I am looking for. I set up to have 30 pre-trigger samples, then 8,100 samples after the trigger.
Why am I getting the extra pulses? Especially when my input signal only contains 1 pulse?!
Thanks!
Hello all,
Ive been trying to brainstorm ideas on how to implement a fetaure for a VI I am writing. The current app I am writing is for a life cycle test. For example, the VI will be controlling the frequency and cycle count of the actuation of many buttons. It is also capable of monitoring the feedback from the buttons. The feature I wish to implement into the VI will allow the VI to stop or pause if the button is actuated but there is no feedback from the button, ie. a failure. This seemed simple to implement at first. Just a simple, if signal sent to button and no feedback recieved, then failure. But there is natural lag between the time the computer can send out the signal to the Daq and the time that the button can send a signal back to the computer.
So basically, im trying to figure out how to account for that slight delay that the computer is sending out a signal but no signal is being sent back from the button. If you have any ideas, please let me know.
Thanks.
I want to design a 3 way toggle switch using 3 different images in a picture ring to depict each of the 3 positions of the switch. I cannot seem to get these images to align properly to do this as they seem to paste into the ring control with different ordinates. How do I accomplish this multiple image alignment?
Measures temperature using a type K thermocouple Displays the temperature with an appropriate display, on the LabVIEW front panel Shows the temperature on a physical analog display (which takes 0-5V input) that is proportional to the temperature range you deem appropriate Log time, temperature, and output voltage to a measurement file at a rate of 0.1Hz
Hallo,
The Tasks in Max can be imported (dragged into) Labview B.D. and converted to a VI.
so there is no dependence on MAX. This helps as your .exe is independent.
Can the same be achieved for Scales. I am using some scales and would like to convert them to a code or some other form which makes my project MAX-independent
regards,
Akshay
Hi,
Here's my question:
I've a large data array (for me its large), about 41M of U64 elements.
But i do not directly write this array into a file.
I need to convert each data in a specific format before wrote it in a file:
for each element of array
convert it to 48b string
add an EOL character
write it into open file
However, this operation takes a lot of time (about 5min10) on a correct PC.
It can be OK, if i need to do this operation only once. But, it is not, this operation can be reproduced many times, and so at the end, it consumed too much time.
So, my question is simple: Is it possible to optimize my VI in order to gain some time ?
Thanks to all.
Ps: I've joined the VI (LV 2015).
Hi,
With the code attached,the PID always becomes unstable thus giving out Max(-8/+8) amps.
The PID values are already tested and verified to be stable.
Could you pls let me know how to fix this??
Hello Everybody,
I got a question regarding MC DAQ read vi.
I need to read data in two different CAN interfaces with the MC DAQ read vi (in polling mode), so I create two loop in parallel. In theo, two loop should be runing in parallel, the time of loop exucution wont incrase by 2. But after experiment, the result is discouraging, loop duration is indeed doubled.
The issue is this vi is protected by password, that means I cant open its diagram.
Is there anyone know how to open it (the password) and what prevents it to be runing in parallel?
Regards ,
Cheng
Hello,
I am still seeing a very annoying problem, since many years. When I try to quit and close LabVIEW IDE, its window closes but it is still present in the taskbar. I need to launch Windows Task manager, and manually kill LabVIEW.exe. This problem still present with LV 2016.
Versions: LabVIEW 2015/2016 32 bit
Windows 7 Enterprise x64
What is strange, sometimes Windows is able to properly shutdown LV, but not always...
Hi all,
I would like to use Labview FPGA to do the following function:
The digital output port serves two purposes. When there is a trigger input, the port output a "true" signal. When there is no trigger, the port is idle, BUT it can be controlled by the user by a boolean switch in the front panel.
I tried using two while loops, one contains a boolean control connecting to the DIO, with another while loop detecting the trigger and a constant "true" is connected to the same DIO when trigger is present. However, only the user control boolean works fine, but when a trigger is present, it doesn't repsonse...
Could anyone please kindly comment on my case?
Best,
Matt
Dears,
company LV code must be supported for several LV versions at the same time. Code is supplied as dll or source distribution.
Part of current flow for deploy is:
- create a build specification, with different target directory, for each needed LV version
- open needed LV version, run suitable build specification, close without saving
Thus I have to open each time the development environment to run the correct build specification.
At the moment I must support LV 2013, 2015, 2016 both x86 and x64 platforms. It means that each build I must open six different IDEs.
Thus question is: is there a way to programmatically do this boring and no-added-value job?
Thanks for your precious help,
Andrea
I have been trying to get 30fps with a Grab and Save to AVI .vi with a Greypoint camera over GigE. I have tried both with the LabView example and with the ring buffer example (https://decibel.ni.com/content/docs/DOC-39157) & (https://decibel.ni.com/content/docs/DOC-36471). I am using MJPEG to compress the file in AVI Create. I have used both AVI and AVI2 vi. Using the example code to read the buffer number I can see that I am acquiring at about 45fps and processing at an inconsistent 20 fps. No matter what I do I can’t increase the fps. I believe that with the Grab and Save, the frames are getting over written before they get a chance to be processed. So using a producer consumer loop should fix that, but it doesn't increase the fps. I know that IMAQ produces a pointer and is not actually queueing the actual image, but I found a code that puts the whole image into the queue, and that didn't seem to help either. Appreciate any help, I'm stuck.
Hi!
I will like to do a program that repeat a task until a push a buttom (that indicate to start another task). I know how to do this with a case structure, but I want to know how to do it with event. Any idea?