Buen dia, estoy realizando un puzzle numerico con una matriz numerica, el usuario debe escoger el tamaño, nose como visualizar la matriz ya que el usuario debe poder correr los numeros para darles un orden. a
puzzle labview
Automation Reference or Class in ActiveX Issue
Hi, I’m trying to control a piece of external hardware called a Wallac PerkinElmer Envision Plate Reader using ActiveX. The hardware comes with control software which works great, and extensive activeX controls. The manual, which I have attached 2 versions of, indicates that every facet of the control software can be instead controlled via ActiveX control. I see all the ActiveX reference components in the ActiveX class lists, can see properties and invoke methods, but am having some issues.
I can do some simple things and they work. For example, I can Open an Automation reference to “Envision 112. WMLR4 System Server”, invoke the function UnLoadPlate(), close the reference. When I run this, the plate door to the machine opens and the plate is ejected as intended.
I can also log into the SQL database using the “Envision112. WMLR4SysDataAdv” reference, login with the username and password credentials, Initiate the system server, and pull information out of the database for simple things.
However, I am having trouble crossing classes?…not sure how to describe it properly.
What I am trying to actually do is, using active X, call a protocol from the database using either the protocol name or the protocol ID, create a new assay under system server, and start that assay. Unfortunately to do this I have to Open the SQL database, pull the protocols, and then somehow pass those data/information into the “Envision112.WMLR4SDAssayProlocol” reference type, then pass that into the invoke method CreatAssay() under WMLR4 System Server.
This is the piece of code I’m trying to translate (outlined as an example in the manual written in VB 2006)…
Code sample for starting an assay with System Server
' Declare necessary com objects
Private WithEvents m_SS As EnVision112.WMLR4SystemServer
Private WithEvents m_CurAssay As EnVision112.WMLR4Assay
Private m_SDA As EnVision112.WMLR4SysDataAdv
' Instantiate them
Set m_SS = New EnVision112.WMLR4SystemServer
Set m_SDA = New EnVision112.WMLR4SysDataAdv
m_SDA.Logon "MLR4Admin", "MLR4Admin"
m_SDA.Init m_SS ‘The SystemServer definition is a new feature of the EnVision112.dll
Private Sub StartAssay()
Dim p As EnVision112.WMLR4SDAssayProtocol
Dim Assay As EnVision112.WMLR4Assay
On Error Resume Next
' the system status can be requested
' If m_ss.InstrumentState = 4 or m_SS.InstrumentState = 5 then
msgbox “Status is Idle”
' End if
' get the protocol to run from the database
Set p = m_SDA.AssayProtocols("Protocol name or ID")
' create the assay to run on system server
Set Assay = m_SS.CreateAssay(p)
If Not Assay Is Nothing Then
' start the given assay
Assay.Start
End If
My main issue is I don’t know how to connect the left part on my Vi (see attached vi or screenshot) to the right side of it. I can invoke the method “getProtocols” from the System Data Advanced SQL server, which should pull all protocols from the DB. But this getProtocols() function returns ADODB recordset type of data and I need to be able to feed that into the reference for WMLR4SDAssayProtocols Property, which only accepts a WMLR4SDAssayProtocols type automation reference. Similarly in can try and pull AssayProtocols() from properties from the initiated System Data Advanced server, but this only returns a cMovCollection output and I have the same issue with connecting this to WMLR4SDAssayProtocols.
I have searched through every function and property I could think of to see if something would take an ADODB reference as an input and WMLR4SDAssayProtocols reference as an output and no such luck. I have contacted the company as well and am still waiting on a response. It’s probably going to be hard for you to open the Vi meaningfully as you don’t have the reference libraries installed needed to see things live. But any suggestions would be appreciated been trying to figure this out for a week and am going nowhere.
I have attached 2 software manuals for automation integration of the plate reader. One of them is a newer version but still has most of the same commands and definitions. I have attached a pic of my vi in its current state, and shot of the database i'm pulling. Any help is appreciated.
Send Boolean from myRIO to ESP-01 over TCP/IP
Hi all, currently I am working on a project to use myRIO to send boolean to ESP8266 so that the GPIO on EPS8266 can turn ON/OFF the relay connected to it. I have search through the forum but I realize that most of them are just sending data from ESP8266 back to myRIO. Anyone can please guide me through this? thanks
Saving waveform data on ATEs
I have a specific requirement on a ATE. This is meant for HALT of a gear box and runs non stop for days on end to complete each schedule. A typical test pattern is as below.
Normally on ATEs we only save waveforms in specified intervals, like if the test is for 1 million cycles we save the wave form once in 10K cycles. Of course the critical paramaters of the cycles are always monitored and rig stopped when they go out of bound.
But in this case client wants to save all the waveform data. Since each cycle is about 4000ms, it takes about 160 points when running with a scan time of 25mS. Even 1000 cycles mean 160 thousand data points. Right now we are using CSV as the file saving format.
What other options are there to handle this requirement ? Been reading about TDMS files but it seems to have a big learning curve to start deploying... maybe I am wrong ?
veristand
1、I want to use veristrand to calibrate a model output channel ,and the software reports an error -307768
2、Is the calibration in veristrand linear?
3、How to understand the coefficients in calibration function ?
veristand calibration
Hello:
1. After deploying veristrand, run LabVIEW to write a calibration value for the model output channel and report an error;
2. How to understand the coefficients in calibration function
read from excel file and plox xy graph
Hi NI Forum Members,
I would like to plot the XY graph from the excel ( Y AXIS irradiance, X AXIS TIME) but i am stuck.
anyone out there can help to create the programme. Thank you!
Vector XL Driver - LabVIEW wrapper
Hi all,
Could someone tell me how can I check license on Vectore HW (VN1630) using LabVIEW wrapper - Vector XL Driver?
There is one function called "xl Check License" in the wrapper, but I'm not able to find out where can I get parameter "protectionCode" of this function?
Waiting for your responses ... 🙂
Jiri
Ask for missing "Overlay Pattern Matching Results"
Hi all,
I have a missing component project detection, this is use a "Overlay Pattern Matching Results".
Can you advise me, how I can get this VI due to I cannot find in my labview 2015?
The picture as below
Regard,
balancing robot myrio
I am trying to make a two-wheeled balance robot by combining Tetrix WRO Competition Set and myrio, but I do not know the VI of the motor part.
The image below is the VI of the motor part, but I don't know where to change it.
Can LabVIEW use WinRT APIs
I was looking at this article about using the UWP APIs which are useful for accessing some of the newer Win10 features. I think I get how to add Windows.Device using a .net dll but they also ask you to import a WinMD file and I'm totally lost there. Is this a thing we can do?
Why my DC motor don't stop?
Hi, im student learning Labview.
I programmed some code by using labview NI 9485.
My intention :
1) I connect to put 24VDC to channel 1 and 2 link by using "boolean on" and disconnect channel 3 and 4 link by "boolean off".
2) Then motor run clockwise.
3) After specific times go, motor stop cause all boolean go unactivity condition with program stop.
4) I change boolean on and off from 1 and 2 to 3 and 4 channels.
5) Then motor run counter clockwise.
6) After specific times go, motor stop cause all boolean go unactivity condition.
7) Repeat.
But, there is a problem.
When motor finish running clockwise, motor doesn't stop by i power off.
And, after i connect powere on, motor run although i doesn't click labview start button.
So, for fix that problem, i should do click start button as all boolean button off condition with no power.
I think the reason showed up that problem is 9485 relay was not disconnected when motor run after specific time run.
I put my labview code.
Please give me some tips.
Thank you!
Sending an array of u8 by reference to a vi used in a subpanel
I have an array of received serial data in my front panel that I want to use in a vi that runs within a subpanel. The subpanel runs different types of graphs and so far I have only been able to do this by using global variables.
By using global variables to system can't keep up with the data coming in, so I'm assuming that using references will allow the system to run much quicker.
Any ideas what the best way to do this is? I'm assuming that this is a common thing to do?
Making an event structure run after alloted time?
Hi,
I'm kind of new to Labview and use it for fun and other implementations but i have gotten stuck.
In following VI is supposed to act as a code lock, type in the right code and it's oppened and locks again after you press a button. But a function i would like to have is that the lock is locked again after 10s if no buttons where pressed after the lock was unlocked. "sorry if the text is confusing"
version in: LabView 2019
All help is appreciated and thanked before hand.
Best Regards Knight of Waffles
Stop an event from passing from one frame to another with Flat Sequence
Hi! I'm new to LabVIEW and I'm trying to create a simple calculator, I'm using a flat sequence to get the first number with event structure and then get the second number also with event structure also.
So far I'm not able to choose the second number, because when i press the button to choose the first number, the event at the first frame gets triggered, and it also gets passed to the second frame, so the same event goes for the first and second number.
I'm wondering how is it possible to stop the event from passing between the frames automatically? and if there is a better way to do this?
I also tried it with while loop, but the event get passed the same way from one iteration to the another, so the same thing happens.
My VI is attached, thank you for your help!
Best way to implement a config ini reading sequence?
Dear Labview community,
So far I have implemented a read config using a sequence wired to the error line in such a way that it runs first before everything else.
But when a change is made to the config file, the program has to be restarted.
Is there a way to implement the config so that it will read before everything else is loaded and at the same time able to be modified without the program needing a restart?
Thank you a lot for the contributions!
How to write the velocity value in VISA write function ?
I am working on a project where, I need to control the motor motion using VISA (Labview) through USB port.
I have the command list to do so.
But now I don't have idea how to say motor to so motion at specific velocity.
For example: I have command such as PR which performs relative motion, but I need to say to motor to perform the motion at specific speed.
I don't know how can I say via VISA to motor to perform motion at specific speed.
Two different messages
Hello,
How can I take out two different messages in the same string indicator of the front panel?
Can someone please convert this file from LV 2019 to LV2018
Hello can some help me concert this vi from 2019 to 2018?
Im currently not at home with accecc to Labview.
Thanks a lot!
regards
regarding LabVIEW interface font size
I have LabVIEW 2019 installed over my PC licensed (both 32 and 64 bit ). The 32 bit version interface is showing unusual font sizes and even the VIs developed are showing overlapped blocks. I have tried to change the font size from VI but of no use.