Jump to content

Will_SC

Members
  • Posts

    9
  • Joined

  • Last visited

Everything posted by Will_SC

  1. Good Day,

    I am trying to capture the status of an AD2 when the trigger level has been surpassed, utilizing FDwfAnalogInStatus in the SDK. However, I am not having any luck getting this done.

     

    The overall goal of the system is to have the AD2 in the background constantly analyzing signals and when the system is triggered I would like to notify the user. How can I go about getting the status of the AD2 when it has hit the trigger mark?

     

  2. Hi @attila, Just wanted to say thank you! @RichSCorp and I were able to get the C Code working perfectly. The AD2 is an absolute great tool. There were some other issues that we wanted to run by you as we are in the development stages of a project. We are very well aware of the preloaded settings for the AD2's configuration, which allows us to have certain amounts of memory allocated to the Scope, WaveGen, Patterns, etc. What we are hoping is for the ability to set these parameters for ourselves. We would like to have settings of 2 x 8K for the scope and 2 x 16K for the WaveGen. Is there anyway that this can be accomplished? Does Digilent Inc. offer special firmware packages/updates that can get this accomplished? We are also looking to have the device send out continuous signals to be recorded on a CPU. Is the ability to have a continuous reading dependent at all on the maximum amount of samples that are set by the scope's configuration. For Example, the default setting I believe gives us the ability to have 4K samples on the Scope, with continuous would we be able to surpass that amount? Are we also able to have a continuous signal being sent out for Noise? I noticed with in the SDK Documentation, the noise needs to be sent to a buffer, which is much smaller than what is needed. How, would we go about having it stream continuously and simultaneously as we are sending out a separate signal on a different channel? As always, your help is greatly appreciated. Looking forward to hearing from you soon. Regards, @Will_SC
  3. Hello @attila , I ran the above code in C++(down below) with @RichSCorp utilizing the SDK and it doesn't seem to work. Can you please look it over and help us identify the error. FDwfAnalogInFrequencySet(this->hdwf, 1000000); FDwfAnalogOutNodeEnableSet(this->hdwf, this->outBNC1, 0, true); FDwfAnalogOutNodeOffsetSet(this->hdwf, this->outBNC1, 0, 0); FDwfAnalogOutNodeAmplitudeSet(this->hdwf, this->outBNC1, 0, 1.0); FDwfAnalogInTriggerChannelSet(this->hdwf, this->inBNC1); FDwfAnalogInTriggerTypeSet(this->hdwf, trigtypeEdge); FDwfAnalogInTriggerLevelSet(this->hdwf, 0.0); FDwfAnalogInTriggerHysteresisSet(this->hdwf, 0.1); FDwfAnalogInTriggerConditionSet(this->hdwf, trigcondRisingPositive); FDwfAnalogInTriggerFilterSet(this->hdwf, filterAverage); FDwfAnalogOutNodeEnableSet(this->hdwf, this->outBNC1, AnalogOutNodeCarrier, true); FDwfAnalogOutIdleSet(this->hdwf, this->outBNC1, DwfAnalogOutIdleOffset);// FDwfAnalogOutNodeFunctionSet(this->hdwf, this->outBNC1, AnalogOutNodeCarrier, funcSine); FDwfAnalogOutNodeFrequencySet(this->hdwf, this->outBNC1, AnalogOutNodeCarrier, 20000); FDwfAnalogOutNodeAmplitudeSet(this->hdwf, this->outBNC1, AnalogOutNodeCarrier, 1.0); FDwfAnalogOutNodeOffsetSet(this->hdwf, this->outBNC1, AnalogOutNodeCarrier, 0.0); FDwfAnalogOutTriggerSourceSet(this->hdwf, this->outBNC1, trigsrcAnalogIn); FDwfAnalogOutWaitSet(this->hdwf, this->outBNC1, 0.02); FDwfAnalogOutRunSet(this->hdwf, this->outBNC1, 0.05); FDwfAnalogOutRepeatSet(this->hdwf, this->outBNC1, 0); FDwfAnalogOutRepeatTriggerSet(this->hdwf, this->outBNC1, 1); FDwfAnalogInConfigure(this->hdwf, 1, 0); FDwfAnalogOutConfigure(this->hdwf, this->outBNC1, true); Your help is greatly appreciated. Willard Joseph
×
×
  • Create New...