sushant Posted January 13, 2023 Share Posted January 13, 2023 Hello, I am using the Digital Discovery kit and below are few questions i have, 1. Can i record the logic analyser for 5s in 32 channel configuration and sampling frequency 100MHz? 2. I need a sample trigger script to trigger on two bus (like BUS1 = xx and BUS2= YY then trigger) and after trigger record the results for 2s. 3. After running the Script outputs should time stamps. Thanks & Regards Link to comment Share on other sites More sharing options...
0 attila Posted January 13, 2023 Share Posted January 13, 2023 Hi @sushant The Digital Discovery has 256MiB of RAM, so the length for 32bit @ 100MHz is ~0.671sechttps://digilent.com/reference/test-and-measurement/digital-discovery/start Link to comment Share on other sites More sharing options...
0 bryan78 Posted January 14, 2023 Share Posted January 14, 2023 18 hours ago, attila said: Hi @sushant The Digital Discovery has 256MiB of RAM, so the length for 32bit @ 100MHz is ~0.671sechttps://digilent.com/reference/test-and-measurement/digital-discovery/start If you have multiple devices is it possible to have another record where the other stops? Like a trigger out for data full? Link to comment Share on other sites More sharing options...
0 attila Posted January 16, 2023 Share Posted January 16, 2023 Hi @bryan78 It would be possible if all trigger at the same event and use different trigger positions, but each device having its own oscillator the captures may be shifted by a few samples. Link to comment Share on other sites More sharing options...
0 sushant Posted January 23, 2023 Author Share Posted January 23, 2023 Can you please share me sample script where two triggers on different signal is used? Link to comment Share on other sites More sharing options...
0 attila Posted January 23, 2023 Share Posted January 23, 2023 Hi @sushant # for Digital Discovery bit order with 32 bit sampling [DIN-0:23 - DIO-24:31] dwf.FDwfDigitalInInputOrderSet(hdwf, c_int(0)) dwf.FDwfDigitalInTriggerSet(hdwf, c_uint(0), c_uint(0), c_uint(0), c_uint(1<<6)) # DIN6 falling edge or dwf.FDwfDigitalInTriggerSet(hdwf, c_uint(0), c_uint(0), c_uint(1<<7), c_uint(0)) # DIN7 rising edge # for Digital Discovery bit order with 32 bit sampling [DIO-24:39 - DIN-0:15] dwf.FDwfDigitalInInputOrderSet(hdwf, c_int(1)) dwf.FDwfDigitalInTriggerSet(hdwf, c_uint(0), c_uint(0), c_uint(0), c_uint(1<<6)) # DIO6 (for Digital Discovery +24 DIO-30) falling edge or dwf.FDwfDigitalInTriggerSet(hdwf, c_uint(0), c_uint(0), c_uint(1<<7), c_uint(0)) # DIO7 (for Digital Discovery +24 DIO-31) rising edge See the examples and manual: Link to comment Share on other sites More sharing options...
Question
sushant
Hello,
I am using the Digital Discovery kit and below are few questions i have,
1. Can i record the logic analyser for 5s in 32 channel configuration and sampling frequency 100MHz?
2. I need a sample trigger script to trigger on two bus (like BUS1 = xx and BUS2= YY then trigger) and after trigger record the results for 2s.
3. After running the Script outputs should time stamps.
Thanks & Regards
Link to comment
Share on other sites
5 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now