Jump to content

Thang Nguyen

Members
  • Content Count

    277
  • Joined

  • Last visited

  • Days Won

    1

Thang Nguyen last won the day on July 10 2019

Thang Nguyen had the most liked content!

Community Reputation

2

About Thang Nguyen

  • Rank
    Very Active
  • Birthday 04/30/1980

Profile Information

  • Gender
    Male
  • Location
    Virginia
  • Interests
    Photography

LabVIEW Information

  • Version
    LabVIEW 2016
  • Since
    2006

Contact Methods

Recent Profile Visitors

2,341 profile views
  1. Hi, Previously, I posted this question in wrong place. I moved it here. My team is trying to track down a memory leak issue with NI CSV (Compact Vision System). If the RT device run for 4 days it will have "Not enough memory" issue, but we still see available memory. We also limit the obtain reference. I would like to know if there is any property I can use to track down the allocated memory as well as release memory so I can track down on this memory issue. Thanks in advance!
  2. David, Currently, we already have that simple loop which can run with 10msec per image or 100 FPS. We are looking for option to upgrade to 150 FPS. The camera can up to this speed but the bottle neck is the compression step. That why I would like to do the compress at the end of each step. With your experience, do you think if I save each images separately into files will be faster than write into database? I can read, compress and write to SQLite database at the end of the test. Thank you very much!
  3. I would like to provide more information regarding my data: The image array size is 300,000 pixel * 8 One test has about 5528 images + particle measurement array in each them. Read Temp Table Time: 12.810000 sec Compress Image Time: 54.924000 sec Write Actual Table Time: 1.619000 sec (not sure why it is very fast here) Drop Temp Table Time: 265.688000 sec Originally, I have another index table which is foreign key reference to the image table. I also have to create temp table to reference to temp image table. The time above is for image table and index table
  4. The reason I have these images save to a database is that at the end of the test, I need to collect this file as test data for post analyzing. I am thinking about your suggestion that temporary save the original images then compress them and save to database at the end but also the cost to save these images to file and read it back later. I hope to improve the speed from 100FPS to 150FPS or more. With your experience, do you think I can achieve the speed? The software is run on NI Compact Vision Controller (CVS).
  5. Currently, my vision software will do a compression (subtract to background image then count zero) and write to a table in SQLite file. Since we want to speed up the process, I write entire image in a temporary table. Then at the end, I read the table, do compression and write to the actual table, then drop the temporary table. This takes a lot of time too even I use the Journal mode = memory. I think the issue is I put the process code in 4 separated modules: Select the temp table -> output array Compress the output array of step 1 Insert the compress data from step 2
  6. @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
  7. 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-Al
  8. @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.
  9. @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.
  10. 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.
  11. @Neil: Yes, this is what I need. Thank you very much.
  12. I want 1.2ex10 not 12.0ex9 as you can see in my example. I will check format into string.
  13. 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.
  14. 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.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.