-
Posts
4,940 -
Joined
-
Days Won
306
Content Type
Profiles
Forums
Downloads
Gallery
Posts posted by ShaunR
-
-
51 minutes ago, JKSH said:
Congrats!
Fancy giving CBOR a go, if you're looking for something to do? It's designed to work well with CoAP. I'd imagine that the API can be modelled closely after Dr Powell's JSONtext.CBOR isn't a protocol so wouldn't fit with ECL. While there are a couple of encoding schemes like Base58 and Base64, they are one-shot enc/dec functions and not really an API.
I think you already know what I'm going to say next. The request would fit better Dr Powell's JSONtext (as you suggest) since it' already has the API and just needs to swap out the parser.
-
Well.
I got a rudimentary CoAP API working (over DTLS). It's a much better protocol than MQTT, IMHO.
I'm beginning to run out of protocols to implement.
-
1
-
-
14 hours ago, Bryan said:
You need to preserve the width (2chars per byte) otherwise your concatenated is incorrect (you have 4 1/2 bytes represented instead of 5 because of the 0x06 - see also the guy that wanted to insert 0's). This is a common "bug" that occurs in drivers.
-
6 minutes ago, Rolf Kalbermatter said:
Sorry mate, but this sounds gibberish and I have no idea what you mean.
I think he's alluding to memory alignment/packing but getting confused with unions.
-
22 hours ago, Jordan Kuehn said:
SystemLink is an (expensive) solution to this as well.
Tor is a much cheaper solution both in money and resources.
Technically, The DNS issue is the IT depts problem. But usually they, all of a sudden, plead ignorance on the topic and can't understand what you are asking for.
-
16 hours ago, betnow21 said:
make it a simple communicator
Simple, huh?
16 hours ago, betnow21 said:am most concerned about error 91 (Error 91 occurred at Variant To Data in CLIENT.vi)
That is a symptom, not the problem. You get that error because if there is a read error (your server shuts down the connection, read timeout or whatever), you still enqueue a message even when there is no data (and you have zero error handling).
Wire the error terminal on the "Producer" to the enqueue and it will reveal the real error (probably 66). This will ensure when there is an error, no data is enqueued to the upper loop which should be named the consumer-you have them switched. The TCP read Produces the data and your upper loop Consumes the data.
-
On 5/19/2023 at 8:58 AM, ShaunR said:
4.4.0 released with DTLS and Pre-shared Key support.
You can try Phase Shift Keying with it but don't contact me for support.
-
1
-
-
-
Your CLFN's are running in the root loop (that's why they are orange).
You really need them to be set to "Run in any thread" but for that, your DLL has to be thread-safe. If it is thread-safe then change it. If not, you are stuck with what you have.
-
1
-
-
12 hours ago, Lucky--Luka said:
To get the exact value I should add 0 in the middle of the values when missing
I don't think so.
12 hours ago, Lucky--Luka said:4-byte hexadecimal values
12 hours ago, Lucky--Luka said:2 8 D5 0 0 0 0 B 5 70 <CR><LF> (value: 46448)
this should be (byte) grouped as
28 D5 00 00 B5 70
that's 6 bytes. I expect the last 4 bytes are the value so the first two (28 D5) are some sort of header. 00 00 B5 70 = 46448 so that seems reasonable.
So. doing the same for your arbitrary insert...
12 hours ago, Lucky--Luka said:2 8 D5 0 0 0 0 B 05 70
28 D5 00 00 (but what about the B?) 05 70.
since 722288 = 00 0B 05 70 we have [with our arbitrary insert]
28 D5 00 00 0B 05 70.
But that means we how have 7 bytes and have a 3 byte header instead of 2.
Adding a 0 arbitrarily is not the solution here. You need to look at how you (the human) are understanding the data from the Arduino again.
-
On 6/1/2023 at 4:55 PM, Phillip Brooks said:
My new motto
No more comments in my LabVIEW code.
No icon customization.
All VIs named 'untitled<n>.vi'
Apart from the last one, that's pretty much my normal work-flow.
-
1 hour ago, dadreamer said:
I tried to be a little ironic, but failed, it seems.
The problem is that what you described is too plausible - solve the symptom rather than the problem and automate the rigmarole work-arounds we normally go through instead of giving us the language construct that is needed. Look what they (not NI) did with C++ and templates
-
33 minutes ago, LogMAN said:
Perhaps diagram zoom could be utilized or the change could be displayed in an overlay (or both combined)?
For example, there could be an icon to indicate that Nigel has a suggestion:
When hovering the icon, it could display the suggested diagram in an overlay from which I can choose to apply them:
Suggestions could also be displayed on subdiagram level, depending on the scope of the suggestion. For example,
Once applied, the diagram grows to fit the new content.
Great idea. I'd prefer the second one with a slight modification - It has the icon (the bulb in your example) but you double click on it to view the suggestion. The suggestions are only displayed if a button in the toolbar is depressed (like the "Retain wire Value"). Oh. And a cancel/close button in the window.
-
1
-
-
18 hours ago, dadreamer said:
It should also automagically install Visual Studio, write the callback wrapper, compile it into a DLL and connect it to the VI with a CLFN.
I respectfully disagree.
We should be able to use callbacks for DLL's just like the .NET callback node. However, that isn't an AI solved problem which is why I was laughing.
-
On 5/27/2023 at 9:55 PM, mhenz said:
Shame on you 🙂
I did it and I'm still active, even not on the frequencies, but making videos, mounting antennas for the contest, painting the truck, climbing on the mobile tower ...
here it goes...
I expect you could hear Marconi's original transmission with that set-up
-
1
-
-
1 hour ago, acb said:
What types of day-to-day tasks would you want Nigel to help you with?
HTML Help files (manuals). Documentation is by far the greatest resource hog and we should be able to get away from programmer created VI descriptions. But I don't just mean documenting VI's though. I also mean generating API references, menu layouts, including external references and collating examples with descriptive comments about their function and what they demonstrate (from the code in the diagrams).
A far better DLL importer. The one we have currently is next to useless for 80% of DLL's. I'd like an AI that can do what Rolf does
. It should be able to import the DLL and create the VI's containing CLFN's for complex structures (e.g strings nested in structures), callbacks (he, he), events and error handling.
-
1
-
-
18 hours ago, Rolf Kalbermatter said:
I'm an "Urgestein". For me PSK still mean Phase Shift Keying.
So I guess you have a Ham Radio licence? It's exactly what my Ham Radio buddy said.
-
11 hours ago, X___ said:
It's heavily scripted, but on face value, that looks promising.
I was mesmerised by the cheesy forced grin of the guy demonstrating. Why does AI type so slowly?
I agree it's looking promising. It's at the level if an intern but actually listens to you. Linear coding is never the final solution. I expect it was tuned for very specific requirements but I was more impressed with it reading the emails and specs and interpreting them in context.
Would suffice for Unit Test cases and feasibility prototypes. Looking forward to getting my hands on it.
-
3 hours ago, Rolf Kalbermatter said:
If you happen to own a substantial amount of NI shares, that is certainly possible. 😁
Otherwise you have to consult with your pension provider first. 😎
I was thinking more of not having to support (or make new releases) of my software anymore.
-
1
-
-
46 minutes ago, crossrulz said:
The announcement for the acquisition did happen in early April. Now it is just waiting for approval by the US government and who knows what other legal red tape for it to actually happen. One of the articles mentioned the acquisition finalization was expected to be in Emerson's financial 2024 H1, which starts in October. Do not expect to hear anything until that happens.
So I can retire in October?
-
It's all gone a bit quiet on the acquisition front. Was supposed to be concluded in early April but we're nearly in June. Trouble at t' mill?
-
While I was faffing around with callbacks. I also implemented PSK.
-
1
-
-
It might be interesting to see what it comes up with for DLL interfacing to LabVIEW (PostLVUserEvent, passing structures to CLFN's etc).
On second thoughts. Maybe we don't want to give it any ideas!
-
SNDCSDLM.dll depends on cvirte.dll. You can check it's deployed on the target machine with Dependency Walker. It's always deployed on development machines so maybe that's the issue. Something easy to check and eliminate.
-
2
-
Performance boost for Type Cast
in LabVIEW General
Posted