Jump to content

Tim_S

Members
  • Posts

    873
  • Joined

  • Last visited

  • Days Won

    17

Everything posted by Tim_S

  1. Your request is like asking for a car with cruise control. There's a lot that goes into picking a camera, lens and (most importantly) a lighting system. Your best bet is to contact the local supplier and work with the salesman on your requirements. The lighting can make and break an entire system, so a supplier who can loan you different lights to try out is a godsend.
  2. Tim_S

    qrcode

    If you go over to National Instruments website and search for "Unicode" then you will get a listing including this document.That should give you an idea of how LabVIEW handles wide and unicode character sets.
  3. NI started recommending virtual machines at the last seminar I was at. With the different versions of LabVIEW and drivers it's been the only sane way to manage. My IT is balking at the idea as Microsoft sees each VM as a different PC, so one physical (not-server) PC may get hit for many Windows licenses.
  4. Got to second a LTS version. It is challenging to develop a product with LabVIEW with the version updates and which drivers support which versions. My development cycle has been about every 3 years, so I'm never calling tech support on the most recent versions of LabVIEW.
  5. Your best resource to start with is the examples that ship with LabVIEW. You can find the examples under Help->Find Examples.
  6. Lawyers can only be as good as the information provided to them; IT may have provided incorrect information. Using an open source application and using open source in an application can be worlds of difference.
  7. Hrm... Some Google-fu indicates that USB is limited to 127 devices on a controller but can run into bandwidth issues. Powering a device off the USB port could cause problems as well if you exceed the current capability of the port.
  8. Hadn't thought of a VM... that's a good thought. It's a good technical solution, though I'm not sure it's a good for non-technical reasons (e.g., can the customer work with it when we're not given remote access to the machine). I'll have to give that serious consideration.
  9. Perfectly understandable... NI nearly got me to jump to 2016 with a couple of features, but had too much invested in 2015 versus the benefits. Still waiting for the long-term-support version of LabVIEW. Hrm... I like the time improvements. The improvements won't impact how I'm using JSON, though, so no worries.
  10. I'm back on LabVIEW 2015, so can't test it... what kind of performance does this have versus the JSON API?
  11. I'm using Windows, so I wonder if there is an issue with the build in the installer for Windows rather than the Linux packages. Did a uninstall/reinstall/setup-from-scratch and had the same issue.
  12. Thanks. I'm assuming someone will want to mine data outside of what I provide, so ODBC is part of my requirements. I tested with PostgreSQL 9.6 64-bit. The 64-bit ODBC would setup in Windows ODBC Data Source Administrator and test as working. Soon as I tried using it I got an error of version incompatibility (64-bit ODBC with 32-bit application). I tried the 32-bit ODBC driver and that worked OK. There was strange behavior with the SELECT and INSERT statements any time I tried specifying a column in a table where the error indicated the column was not part of the table (happens even in pgAdmin 4). Could be corruption, bug in something I did, corporate IT settings, butterfly flapped its wings... Not sure what is going on. MariaDB 10.2 has worked out of the box. There are features I prefer in PostgreSQL (better documentation, built-in backup and recovery strategies, method of accessing information in JSON...) but it's (at least initially) more complicated to set up. HeidiDB has a more straightforward interface, but it looks like installing plugins to get the features I'm looking for is going to be interesting (there's documentation on how, but what I've found is written for UNIX/Linux rather than Windows though that seems to be true of much of PostgreSQL as well).
  13. Did you try to get ODBC working with PostgreSQL? Having some out of the box issues with that and see you posted a communication package you were working on in the other thread.
  14. Appreciating people's responses. Thanks for the link!
  15. I'm reviewing how we're storing data and looking at databases. As I'm looking through the hundreds of database options out there I began wondering what other people are using for databases and what they are using it for. Starting off... Currently using files for local test record storage, but also use SQL Server to aggregate data.
  16. My customers in China require the translated manuals before we do training so they can read them in entirety. Maintenance tends to keep a copy for their tasks (some related to software). Otherwise we do a lot of 'well, let's look at the manual... ah here on page...' to discover the dead-tree manuals are long ago lost/recycled.
  17. Network published shared variables work fine in the runtime environment. Do you have the shared variable engine installed on the runtime-only PC? If you're going across PCs then you want to look at the shared variable primatives rather than the global/local-looking variable on the client side. You'll need to specify an IP address; the primitives is a good route to do that.
  18. Ideal approach really depends on your application. Your description sounds like you're streaming large amounts of data from FPGA->RT->PC. To that, I have an application that is similar in that the cRIO is a glorified DAQ card (at least initially). The design was able to get 9 channels at 1 MS/sec and 9 channels at 1 kS/sec simultaneously. I did an overnight test checking all 18 channels arrived at the PC without loss, and the design has been in use (at much lower and less intensive transfer rates) for over a year, so the design should be solid though I expect there is a lot of room for improvement. FPGA side... The FPGA folds, spindles and mutilates the signals to where each is a U32 value. The top byte contains a 'channel number' and the bottom 3 bytes contains the data. This gives 256 possible channels and up to 24 bits resolution. This gets transferred across a DMA to the RT. The commands to the FPGA (e.g., sample rate) are done by reading/writing the control from the RT side. This is doubled so I can have the two sample rates on the same channels. RT side... The RT side grabs whatever data is in the DMAs (which are as big as could make it) and puts it in a circular buffer. The circular buffer gets sent to a network stream to the PC at regular intervals. PC side... The PC side connects to the network stream using the primitives. The channel identifier (top byte) is used to sort out the data into an array of waveforms. If I recall right, performance blips up to about 5% CPU usage on my test machine (2.6 GHz i7).
  19. May be easier said than done. VIPM 2017 installed with LabVIEW 2017 for me. My coworker tried downloading from JKI's website and got 2016 instead. That's been a week or so ago so it might be fixed now.
  20. I'm not clear what camera, communication bus, etc., that you are using. However... 4 msec/MB would be 250 MB/sec, so my initial reaction is that could be the practical limit of the communication bus.
  21. I would expect the sub-Item to be a scalar and the input to the Get:Boolean to be a JSON object. What does your JSON file look like? I would expect it to be something like below. { "blemishResults": { "passfail": { "Blemishes_all_passed": false } } } JSON test.vi
  22. I believe you want to wire the Get:Boolean to the output of the Get:from JSON rather than the Get:sub-Item with the way you have the name array wired. The error is correct in that there is no Boolean in the JSON from the Get:sub-Item. A Boolean value in the JSON would be something like: "MaximizeOnStart": false I expect a value of [0] indicates a NULL rather than a logical 0.
  23. I believe the Averna Notifyicon in the LabVIEW Tools Netowrk is based on that and seems a bit cleaner to me. My top level VI does not maximize, so I can't speak to that at the moment. I have subVIs that provide user interface which can maximize with no issues.
  24. Put the entry "HideRootWindow=True" into the ini file for the executable.
×
×
  • Create New...

Important Information

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