Kristoff

Administrators
  • Content Count

    265
  • Joined

  • Last visited

Reputation Activity

  1. Like
    Kristoff got a reaction from Joao Paulo in Useful Links   
    OpenScope MZ
    Getting Started Guide Resource Center Landing Page Setup Update Firmware Calibration Wifi Setup Instrument Panel Function Generator Oscilloscope GPIO and Logic Analyzer Power Supply Triggers Math and Cursors Offline Support Reference Manual WaveForms Live
    Getting Started Resource Center Reference Manual Digilent Agent
    Resource Center Digilent Instrumentation Protocol JavaScript / TypeScript Developer Guide  
  2. Like
    Kristoff got a reaction from Jiandan in OpenScopeMZ upload failed   
    Hey Jiandan,
    If you're using the OpenScope MZ with WaveForms live you will never need to program it using the Arduino IDE, MPLAB or the PICkit3.  All firmware updates should be done through the WaveForms Live software.  WaveForms Live is available offline as well and is built into the Digilent Agent (see details in the FAQ under Is WaveForms Live available offline).
    WaveForms live uses the Digilent Agent to load firmware onto the OpenScope MZ at the 1250000 baud rate, so the baud rate is not the issue if you're able to do that successfully.
    It sounds like the hex file generated by the Arduino IDE is not generated correctly and does not work.
    -Kristoff
     
  3. Like
    Kristoff got a reaction from Jiandan in PICkit 3 download hex of arduino ,it does not work   
    Hey Jiandan,
    Can you please provide as much information as possible?  There are a million things that could go wrong like accidentally building the firmware for the wrong target, bugs in your application that could prevent the expected behavior, etc. 
    One thing to note is that the hex file produced by the Arduino IDE does not include the bootloader so programming it to the OpenScope with a PICkit 3 will likely override the bootloader.
    -Kristoff
  4. Like
    Kristoff got a reaction from Joao Paulo in What is the purpose of the SD card   
    Hey,
    This blog post has an overview of the 'stretch goal' features and links to more info.  Let us know if you have any questions as you get started with the data logger.
    Thanks!
    -Kristoff
  5. Like
    Kristoff got a reaction from Jiandan in OpenScopeMZ upload failed   
    Hey,
    We did a lot of testing with the 1250000 baud rate because we were concerned that some USB ports might have problems.  We've described a known issue cause by this baud rate, but it only affects USB 2.0 'Full Speed' ports (remember USB 'High Speed' is faster than 'Full Speed)', and only when transfering large buffers of data.  We have never found this baud rate the be an issue during firmware loading since it uses many small data packets.
    Can you provide more details about your system and the USB port you're using?  Have you tried other ports on the same computer and other computers?
    Thanks!
    -Kristoff
  6. Like
    Kristoff got a reaction from Joao Paulo in What is the purpose of the SD card   
    Hey Kabron,
    You can store WaveForms Live on the SD card for use when you have no internet connection.  If you launch a browser and navigate to the IP address of the OpenScope MZ it will check if your host (where PC, phone, etc) has an internet connection and then:
    If your host does have an internet connection the OpenScope MZ will redirect the browser to load WaveForms Live from waveformslive.com.  The load times are much faster from waveformslive.com than from the Open Scope MZ sd card. If your host does not have an internet connection it will load WaveForms Live from SD card on the OpenScope MZ. If you always have internet access or plan to use the Android / iOS app, you don't need the SD card.
    We're also planning to add the ability to log data to the SD card as part of one of our Kickstarted stretch goals.
    Let us know if you have any more questions about this.
    Thanks!
    -Kristoff
     
  7. Like
    Kristoff got a reaction from Joao Paulo in Connect to Android with no WiFi router or network?   
    Hey João,
    We've been working with some Bluetooth modules for other products lines (pmods and system boards).  If all goes well this could be something we bring to the instrumentation line in the future, but we don't have any immediate plans to create an OpenScope variant with Bluetooth.
    -Kristoff
  8. Like
    Kristoff got a reaction from Joao Paulo in Connect to Android with no WiFi router or network?   
    Hey DwayneR,
    The mode where OpenScope MZ provides a Wifi network is called 'access point', unfortunately the wifi module we use on OpenScope MZ does not support this mode.  We are evaluating other wifi modules for future products that will give us the ability to include this mode.
    -Kristoff
  9. Like
    Kristoff got a reaction from Joao Paulo in Connect to Android with no WiFi router or network?   
    Unfortunately that won't work with the current version of WaveForms Live.  We use the same source code to build WaveForms Live for the browser and as iOS and Android apps.  Since the browser cannot talk to hardware directly (for security reasons) we use the Digilent Agent to bridge the gap. We do not have a version of the Digilent Agent that works on iOS or Android at the moment.  I'll make a note to investigate this to see if there is a reasonable solution.
    -Kristoff
  10. Like
    Kristoff got a reaction from avnrdf in Openscope discovery question   
    Hey,
    The CSV takes a little reformatting.  I removed the header row, deleted the time columns and empty space colums. After that I was able to import with the default settings, and configure it as a SPI channel to decode.  I attached the original CSV exported from WaveForms Live and an example of the CSV formatted for import into PulseView.
    Arduino code:
    #include <SPI.h> #define CS 8 void setup() {   pinMode(CS, OUTPUT);   //pinMode(11, OUTPUT);   digitalWrite(CS, HIGH);   SPI.begin();   SPI.setClockDivider(SPI_CLOCK_DIV128); } void loop() {   digitalWrite(CS, LOW);     SPI.transfer('O');   SPI.transfer('P');   SPI.transfer('E');   SPI.transfer('N');   SPI.transfer('S');   SPI.transfer('C');   SPI.transfer('O');   SPI.transfer('P');   SPI.transfer('E');   SPI.transfer(' ');   SPI.transfer('M');   SPI.transfer('Z');   digitalWrite(CS, HIGH);     delay(1000); }  

     


    WaveformsLiveData - Formatted.csv
    WaveformsLiveData.csv
  11. Like
    Kristoff got a reaction from Joao Paulo in Eagle PCB files for OpenScope MZ   
    Hey Bob,
    We (Digilent) have invested a lot of time and money into OpenScope MZ and WaveForms live.  A company that creates and sells a clone hurts our ability to recoup the cost we've invested.  Most companies and consumers understand that this is not the spirit of open source, but it's not always obvious when you're purchasing a clone and a lower price appeals to almost everyone.  We want to make sure we can recoup our investment and continue to develop open source hardware and software.
    -Kristoff
  12. Like
    Kristoff got a reaction from victory460 in Compile firmware for the OpenScope MZ failed,why?   
    We don't use the Arduino IDE for development.  We use MPLABX.
    The MPLABX project setup varies depending on what you want to do, but you should be able to create a new project, target the correct PICMZ, import the source code and build it.  You'll also need to setup a programmer / debugger and any other supporting resources you decide to use.  Since this setup is pretty open ended we decided to leave it up to users to choose how to setup their environment based on their specific requirements.
    -Kristoff
  13. Like
    Kristoff got a reaction from victory460 in Compile firmware for the OpenScope MZ failed,why?   
    Hey Victory,
    The OpenScope MZ firmware is designed to open in the Arduino IDE and MPLABX.  The Arduino IDE has some unique requirements that require a few little tricks to get it to work, which is why you don't see code in the main .ino file.
    When you opened the .ino file it probably said that the .ino needs to be in a folder with the same name as the .ino and gave you the option to fix it for you.  If you do that it will create a sub folder and put the .ino in that folder which causes these problems.
    Please delete any copies of the firmware source you extracted. Extract a new copy of the firmware anywhere on your PC (it does not need to be inside the Arduino path). Rename the folder from openscope-mz-master to OpenScope. Copy the supporting libraries from the OpenScope/libraries directory into your Arduino libraries directory. Open OpenScope.ino in the newly renamed folder. You should now see several source files open in the Arduino IDE as shown below and the build should be able to compile the firmware.
    I'll add these details to the readme.
    Let us know if you have any more questions about this.
    Thanks!
    -Kristoff
     
  14. Like
    Kristoff got a reaction from victory460 in Find serial debugging tools to this serial port baud rate is 1250000   
    We typically use PuTTY or Tera Term for development and debugging here.  I've also started using RealTerm lately because it makes it easy to send non-ascii characters.
    -Kristoff
  15. Like
    Kristoff got a reaction from JColvin in OpenScope MZ PCB getting hot   
    Hey,
    Sounds like it must be a bad board. @JColvin can you help Jose with the RMA process.
    Thanks!
    -Kristoff
  16. Like
    Kristoff got a reaction from sudharsan.sukumar in GitHub firmware update   
    Haha I'm glad you like it.  Keith, Dharsan and I have had a lot of fun working on it.  Let us know if you have any questions.
    -Kristoff
     
  17. Like
    Kristoff got a reaction from avnrdf in Openscope discovery question   
    I played around with this a little this afternoon.  I was able to pull a CSV exported from WaveForms Live into PulseView and decode the SPI packets.  I need to play around some more with the .sr format to know for sure if we can export that directly from WaveForms Live.  I'll hopefully have some details tomorrow.
    -Kristoff


  18. Like
    Kristoff got a reaction from victory460 in Ajax about Cross-domain in the WaveForms Live   
    Hey,
    We use the cross-origin request header to allow WaveForms Live to talk to the OpenScope hardware.   More general info about the cross origin request header can be found here.
     
    -Kristoff
  19. Like
    Kristoff got a reaction from JColvin in USB Isolation   
    Hey,
    Someone asked a similar question here.
    -Kristoff
  20. Like
    Kristoff got a reaction from Ictinike in Openscope not installing   
    Hey tsenneville,
    I just updated the 'offline' WaveForms Live component in the Agent.  You should be able to right click the Agent and choose 'Check for updates' and it should detect and install the update to WaveForms Live 1.1.2.
    Let me know if you have any trouble with that.
    -Kristoff
  21. Like
    Kristoff got a reaction from jpeyron in Nexys Video: LVDS via Pmod connector possible?   
    Just to be clear jpeyron's suggestion is for educational purposes.  Digilent does not recommended or supported modifying the board in this way.  Any modification to Digilent hardware will void the warranty and make the board ineligible for RMA.
    -Kristoff
  22. Like
    Kristoff got a reaction from David Bradway in Digilent Instrumentation Protocol   
    Thanks for sharing the Python code, can't wait to check it out!
    Run is not currently implemented on OpenScope MZ.  When you click 'run' in WaveForms Live we do a 'single' and as soon as it returns we do another 'single' until the user clicks stop.  We do plan to implement this but since we're currently only support synchronous communication (every data transfer must be initiated by WFL) 'run' won't provide a huge performance boost just yet.
    This feature is particularly complicated because ideally we'd use websockets for run.  This means adding web socket support to our embedded network stack, OpenScope, WFL and the Digilent Agent.  Then we have to update the command protocol and our state machines on both ends to support asynchronous data.  Then we could implement 'run' the right way.  So it's on the road map, but may be a while.  We may implement the 'run' portion first to save one HTTP call per buffer.
    You are correct that once the OpenScope MZ is on the network it's open to anyone to send HTTP requests.  Right now the OpenScope will respond to the requests in order and it is possible to send conflicting commands from two device.  Our advice for now is to only connect from with one device at a time.  We have talked about adding a username / password or something similar to limit access to the device but it didn't make the cut for 1.0.  I welcome any feedback people have on how valuable this is (especially compared to other features like 'run' protocol analysis, etc).  I created a feature request issue for this here.
     
    -Kristoff
  23. Like
    Kristoff got a reaction from David Bradway in Digilent Instrumentation Protocol   
    Hey David,
    You're probably the 4th person to ever use this documentation (after Keith, Dharsan and me :D) so don't hesitate to ask questions.  We plan to keep updating it to be more user friendly.
    Check out the Device>>Enumeration response.  It contains info about the data types returned by each instrument.
    "osc": { "1": { "resolution": 12, "effectiveBits": 11, "bufferSizeMax": 32640, "bufferDataType": "I16", "sampleFreqMin": 6000, "sampleFreqMax": 6250000000, "delayMax": 4611686018427388000, "delayMin": -32640000000000000, "adcVpp": 3000, "inputVoltageMax": 20000, "inputVoltageMin": -20000, "gains": [ 1, 0.25, 0.125, 0.075 ] }, resolution: 12 The actual sample resolution bufferDataType The data type in the binary data So the binary data returned in the Osc Read will be signed 16 bit numbers and each one represents a single sample in mV.
    If you get some python code working we'd love to see it!
    -Kristoff
  24. Like
    Kristoff got a reaction from David Bradway in OpenScope MZ MAC Address?   
    Hey,
    It looks like you'll have to use 'menu mode' to connect to a wifi network to see the mac address.  Just follow the instructions on the terminal to setup the network connection then you should see the mac address printed when the connection is established.  
     

    -Kristoff
     
     
  25. Like
    Kristoff reacted to CatFoodMan in OpenScope MZ Calibration Issue   
    The new one was waiting for me when I returned home this evening – Thank you for your prompt service!


     Just like the original one, it came with Firmware 0.185.0 needed a firmware update to 1.40.0, which was carried out without issue.  However, unlike the original one, this one was able to calibrate and save successfully. YAY!.  Also, this one was able to enumerate WIFI SSIDs instead of having to put one in manually.  I've been able to do the measurement test using the internal waveform generator and capture some external signals successfully, as well.  I think we're doing much better here now.  I've even put it into its case...


    I’ve got the old one packed into its original box and ready to ship back to you.