-
Posts
4,968 -
Joined
-
Days Won
309
ShaunR last won the day on July 25
ShaunR had the most liked content!
Profile Information
-
Gender
Male
LabVIEW Information
-
Version
LabVIEW 2009
-
Since
1994
Recent Profile Visitors
ShaunR's Achievements
-
I couldn't see the hills because they were covered in glaciers.
-
I even remember BridgeVIEW
-
Just be aware that the Caption property is often used for translations.
- 8 replies
-
- ui tools;
- tag engine
-
(and 3 more)
Tagged with:
-
New LabVIEW tool: Embed/Extract data in PNG files
ShaunR replied to BitPack Tools's topic in LabVIEW General
No problem. I just hadn't created a TRUE boolean so that the image is returned (default is false). I usually expect indicators to return things, except if there is an error, and not be conditional on other inputs.- 13 replies
-
- data packaging metadata storage
- field work
- (and 1 more)
-
New LabVIEW tool: Embed/Extract data in PNG files
ShaunR replied to BitPack Tools's topic in LabVIEW General
Nice. While I was trying to figure out why I wasn't getting the image (because there is a boolean to return it ); I noticed you used a temporary file for the png image. There is a better option in the Web Services palette which means you can directly convert a byte string into a LV image without an intermediary file: As you now have two different connector-panes for different modes of operation (text and file embedding), you might want to consider whether a polymorphic VI would be useful for their adapt-to-type feature. Finally. If you are going to distribute the 7zip binary rather than requiring the end user to download it; don't forget to heed the copyright. They want you to add the actual LGPL text rather than reference a URL.- 13 replies
-
- data packaging metadata storage
- field work
- (and 1 more)
-
New LabVIEW tool: Embed/Extract data in PNG files
ShaunR replied to BitPack Tools's topic in LabVIEW General
Your customers also need to be aware of any drawbacks and caveats. If the filename is used as a key for an encryption scheme then perhaps it should be mentioned in the documentation and, additionally, what scheme you are using. I think this will be the most common reason people will seek support from you. I won't harp on much more about the MGI licence but just say, finally, I don't think you fully understand the issue, which could have been completely avoided. Just for reference, I have attached my test harness from above in LV2019. Example_1.vi- 13 replies
-
- data packaging metadata storage
- field work
- (and 1 more)
-
New LabVIEW tool: Embed/Extract data in PNG files
ShaunR replied to BitPack Tools's topic in LabVIEW General
There is. If they create an executable they need to add the copyright to their documentation or distribution in some way as the licence is contained in the MGI VI's description. Example_1.vi- 13 replies
-
- data packaging metadata storage
- field work
- (and 1 more)
-
New LabVIEW tool: Embed/Extract data in PNG files
ShaunR replied to BitPack Tools's topic in LabVIEW General
OK. Now we're cooking with gas. Some minor (and one major*) comments. Data does not survive a copy operation.* Error in (No error) shouldn't be required. Add a document that states the licence conditions that you are distributing under (e.g. MIT, BSD, Creative Commons etc) Use a Hex Encode and Decode you have written. Don't use the two MGI utilities. Make your logo smaller. With regards #4. You are only using two MGI utils to convert to and from hex chars. That can easily be done natively without requiring installation of a 3rd party toolkit. Using those two requires the end user add an additional copyright statement to their binary distribution that they may not be aware of (were you?). Save them (and yourself) the copyright issues. If you are going to use 3rd party toolkit, require they install them as a dependency then you will not have copyright issues ... but you don't need it for this.- 13 replies
-
- data packaging metadata storage
- field work
- (and 1 more)
-
New LabVIEW tool: Embed/Extract data in PNG files
ShaunR replied to BitPack Tools's topic in LabVIEW General
It doesn't seem to produce a valid png (either as XML or "not encoded"). I've changed the extension name of the produced file (.notaping) because the web interface will not allow uploading as a png. PicPack_Embedded.notapng- 13 replies
-
- data packaging metadata storage
- field work
- (and 1 more)
-
What are some choices for producer-consumer protocols?
ShaunR replied to Reds's topic in LabVIEW General
As an addendum... I did something very similar to you many moons ago. Maybe it will give you some ideas. Here is "Dispatcher". Should work fine for you as long as you don't select TLS. Just open the project and run the file Demo - Run ME.vi (then press Register and Subscribe buttons). It also does stuff like compression and blowfish encryption. It's a simple custom, home-grown, protocol that I wrote to explore high-speed data streaming before the more modern protocols were available. The Dispatcher, Publishers and Subscribers can run on any machine that has network access-they don't all have to be local to each other. There is an API that can be used to implement it in applications. It's not really a product so not much in the way of documentation, I'm afraid. Dispatcher.zip -
What are some choices for producer-consumer protocols?
ShaunR replied to Reds's topic in LabVIEW General
Tough one for LabVIEW. It's a bit like RTSP - there's nothing until someone writes it. OpenSSL has QUIC support. M$ have .NET support and MsQuic. RabbitMQ is discussing whether they should or not. I will support it later this year (waiting for OpenSSL version 3.6). I have some LabVIEW prototypes that I've played with and it's damned fast with almost no overhead. It has in-built failover and multiplexed channels making it ideal for your use case. Your idea of streaming directly is a good one, though. You don't really need a higher protocol unless you can identify a particular problem you need to overcome. Websockets is another that would be a good start because you would be able to have an Apache/Nginx server for routing or even send the data directly to browsers. Hmmm. Yes. Considering where you are now I would recommend Websockets. They are probably the easiest and get you almost all the way to where you want to be and a good start for expansion later for streaming in other more efficient and scalable protocols like QUIC. I think there are a few LabVIEW Websocket implementations to choose from so you wouldn't have to write your own. -
Not sure what a "wheel" means in this context. I've only ever seen it in context of A.I. python scripts. If you are just looking at toolkits installed with the JKI Package Manager then the full version can create super packages where you can create a list of toolkits to install. you could then walk from PC to PC with that package and install them with the package manager.
-
What are some choices for producer-consumer protocols?
ShaunR replied to Reds's topic in LabVIEW General
QUIC