Hi,
Is there a Red Pitaya emulator, for instance to check some code that runs SCPI commands without an actual physical Red Pitaya?
Thanks,
Albert
Is there a Red Pitaya emulator?
-
- Posts: 1441
- Joined: Sat Jun 07, 2014 12:49 pm
- Location: Königswinter
Re: Is there a Red Pitaya emulator?
I don't believe there (officially) is, but it shouldn't be very hard to create one for scpi-parsing and communication purposes. Take the sources of the scpi-server and replace all calls into the RP api with dummies. The dummies should return RP_OK and mock data as needed. Compile for your host platform and run and connect to locally instead of to a real RP.
If your intention is to emulate the physical behaviour as well - like, what waveform is generated in response to a certain sequence of scpi commands - the dummies will need to get very sophisticated. In that case your probably better off using a real RP.
If your intention is to emulate the physical behaviour as well - like, what waveform is generated in response to a certain sequence of scpi commands - the dummies will need to get very sophisticated. In that case your probably better off using a real RP.
-
- Posts: 23
- Joined: Tue Sep 08, 2015 3:04 pm
Re: Is there a Red Pitaya emulator?
Hi albertryou2,
for all testing purposes I have one RedPitaya that is hooked up to the internet that I use for testing with travis-ci (I only need it like once per day, but it is very practical). If you are interested, PM me your email address and I'll send you the login information. Wich version of the OS are you expecting? I think I currently run v0.95. However, things are a little bit slower than over LAN.
More generally, I suggest the RedPitaya crew do the same thing officially, as it would be a great publicity (and I would love to use their redpitaya for my unitary tests instead of my own).
for all testing purposes I have one RedPitaya that is hooked up to the internet that I use for testing with travis-ci (I only need it like once per day, but it is very practical). If you are interested, PM me your email address and I'll send you the login information. Wich version of the OS are you expecting? I think I currently run v0.95. However, things are a little bit slower than over LAN.
More generally, I suggest the RedPitaya crew do the same thing officially, as it would be a great publicity (and I would love to use their redpitaya for my unitary tests instead of my own).
jadalnie klasyczne ekskluzywne meble wypoczynkowe do salonu ekskluzywne meble tapicerowane ekskluzywne meble do sypialni ekskluzywne meble włoskie
Who is online
Users browsing this forum: No registered users and 106 guests