-
Posts
299 -
Joined
-
Last visited
-
Days Won
1
Content Type
Profiles
Forums
Downloads
Gallery
Everything posted by Thang Nguyen
-
HTTP Post does not work
Thang Nguyen replied to Thang Nguyen's topic in Remote Control, Monitoring and the Internet
@Rolf You are correct about header. I added a header I can find on NI forum as below and it works. Thank you for your input -
Hi everyone, I am start working on a project require to communicate with a web service (written by another team). I have to use POST HTTP function to request access token with provide username, password and tenant name in JSON format. I use Flatten to JSON to convert a cluster to JSON string for buffer. I have connect URL as it suppose to be. I event use string constant to pass in the JSON directly, but when I ran, it returned header: HTTP/1.1 401 UNAUTHORIZED Date: Tue, 15 Dec 2020 04:05:22 GMT Content-Type: application/json Content-Length: 44 Connection: keep-alive Access-Control-Allow-Origin: * Server: Werkzeug/0.14.1 Python/3.7.2 body: {"message":"Error in Database connnection"} The another team told me to test with Postman and it run fine with the same input URL and JSON data. It returns the correct access token. I am not sure what the different between my labVIEW code and the Postman structure. I don't have much experience with HTTP and Web service through so I ask for your inputs. Thank you very much in advance.
-
@JKHS. Thank again. Our lab does not use LIMS. My task is find out how to integrate our instrument test data to customer LIMS. As you describe, I will need to look for technical manual of our customer LIMS software.
-
@JKSH: Sorry for late reply. My software controls an instrument in the lab to run cell analyst. One experiment session is start with pressurize the cell through a channel and using machine vision to analyze image captured of the channel. The experiment data is captured in database include of hardware data like pressure, voltage. In some lab they use LIMS to manage the workflow. I still not sure how should I integrate my test data into LIMS. Thanks for your information.
-
Hi, I was asked by my supervisor about LIMS compatibility of our software. I did some research including search on LAVA still cannot get much information about technical side of LIMS. somehow I only know that it uses the OPC protocol but beside that I don't have any more information. Could you please share with me some information about LIMS and how do we communicate with LIMS from LabVIEW side. I worked with OPC server before. Thank you in advance.
-
How to format "number to engineer string"
Thang Nguyen replied to Thang Nguyen's topic in LabVIEW General
@Neil: Yes, this is what I need. Thank you very much. -
How to format "number to engineer string"
Thang Nguyen replied to Thang Nguyen's topic in LabVIEW General
I want 1.2ex10 not 12.0ex9 as you can see in my example. I will check format into string. -
I need to display the engineer string in a tree so I used number to engineer string. The issue is it is very limited to format the engineer string with this function. Look at below example I want only one digit number before the decimal point but I don't know how to set that. Please let me know how to do it. Thank you in advance.
-
Disable item on runtime shortcut menu of a control
Thang Nguyen replied to Thang Nguyen's topic in User Interface
Thank you very much! -
Hi all, I would like to know if there is a way to access to the reference of the runtime shortcut menu of a control? I would like to enable/disable one of those menu item programmatically. I only know how to access the runtime menu of the VI. Thanks in advance.
-
James, Thanks for your response. I tried to modified one of your example to create two tables. One thing I noticed is BEGIN.vi returns error 5 when it waits for a while but there is no timeout input. Should I just clear the error and run the Execute SQL vi again? SQLite Example 1 -- Create Two Table.vi
-
Hi, I would like to know if I can write stream data into two different tables with SQLite at the same time or not? Currently my system has one camera. I store the capture images and particle measurement in one table. I have just add one more camera to the system and would like to do the same thing and write to a second table in a parallel process. I wonder if this is possible or not. I use SQLite library. Thanks in advance.
-
Need help with populating the time of RT device on host software
Thang Nguyen replied to Thang Nguyen's topic in Real-Time
Thank you very much! -
Best circuit board for LabView
Thang Nguyen replied to Ricardo de Abreu's topic in LabVIEW Community Edition
There is nothing perfectly fit for everything. Pick the one closet to what you want and go with it instead just wondering about it. Use your brain to learn how to program LabVIEW first.- 17 replies
-
- arduino
- raspberry pi
-
(and 3 more)
Tagged with:
-
I am working on a project need to tracking objects in real time by vision. I need to populate the information on the host software. This is still in the process of developing so I want to have the time of the device populate on the screen of the host software like in MAX. Is there a function allow me to do that? Thanks in advance.
-
Hi, I wonder if we can create application with multiple sub windows like TestStand using LabVIEW? Currently, my application has multiple dynamic call VIs. I can arrange them by specify the location and the size. But I still prefer to have them stay inside something like subpanel but can change side as well as location. Thank you in advance.
-
My company is growing so need to add one more position for LabVIEW developer. Best to have experience working with complicated architecture Need to help object oriented knowledge and experience. Good to help experience with NI Vision, Motion, FPGA. We can transfer H1B. Please send email to thang.nguyen@lumacyte.com This position if filled. Thank you.
-
3 axis stepper motor controller replacement
Thang Nguyen replied to Thang Nguyen's topic in Hardware
If you are the one order the NI parts relating to motion you will receive the letter. -
3 axis stepper motor controller replacement
Thang Nguyen replied to Thang Nguyen's topic in Hardware
We are using NI Softmotion, cRIO and NI 9503 to control stepper motors now. But since NI will discontinue these products we need to look for replacement. I just want a controller which I need to send command to tell motor move for a certain distance with a pre-program acceleration, velocity profiles. Thank you for answering my question. -
Hi, I am looking for an option to replacement of NI Softmotion + Stepper modules to control 3 axis stepper motors. If anyone has experiment with this please give me an advice. Thanks in advance.
-
Need help with Error 1 when I try to set the FP windows size
Thang Nguyen replied to Thang Nguyen's topic in LabVIEW General
@ensegre: I am actually aware of the panel limit size. I did set the minimum size to the smallest value I can set to. But after setting it to 1x1, I don't get error anymore. I guess this fixed it. Thank you very much. -
In my application, I try to change the size of the Front Panel of sub VI based on configuration. I am not sure why I got error below. subVI Set Dialog Size's block diagram When call this VI, I tried to passed in VI server reference or pass using VI property node reference. Both of methods return same error Thank you in advance.
-
Motor control with FPGA design pattern question
Thang Nguyen replied to Thang Nguyen's topic in Real-Time
In attachment is my FPGA VI. I have 2 motors. With one motor, I have a single cycle time loop to generate a PWM and another single cycle time loop to analyze the encoder. I would like to ask, if I want to add PID in FPGA, should I create a third while loop to connect encoder value with PID and the PWM generator? This is the only way I think it can happens. Regards, TNRover1_FPGA_Main.vi