问题标签 [cdc]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
printing - 二维码 ActiveX 控件:打印时控件的位置不同
我曾尝试用谷歌搜索 COleControl、IOleInPlaceSite 等许多键......但我仍然对此一无所知。我知道当activex控件处于非活动状态时,容器不会为activex控件创建窗口!所以 rect 将与 Ondraw 不同!如何使控件在同一个地方?在 ReportViewer 中我可以控制二维码的位置!但是当我将它打印到 PDF 时,它总是在纸的左上角!感谢您的帮助!
sql - 将 cdc 历史数据存储在自定义表/另一个数据库中
我想将“更改数据捕获”历史记录行存储在另一个数据库/表中。
我该如何实施?
我应该使用自己的服务,寻找 cdc 表和复制行吗?
我可以为此使用 SSIS cdc包吗?(我从不使用 SSIS,读完这篇文章后,我很困惑)
embedded - 虚拟 COM 通信问题
我正在为嵌入式设备开发通信设备类 (CDC) 驱动程序,即 USB 2.0 的全速实现。COM 端口设置为 115200、8 位、无奇偶校验、1 个停止位、无流量控制。我们的 PC 应用程序(32 位、Windows 7、.NET 2.0)通过虚拟 COM 端口与目标设备进行通信,目标设备上的该端口可以连接到 FTDI(USB-to-SCI 桥接器)芯片或集成的 USB微控制器中的外围设备,具体取决于应用程序选择的端口。
使用 Realterm 时,两个虚拟 COM 端口都可以正常工作。然而,虽然我们的桌面应用程序使用通过 FTDI 芯片连接的虚拟 COM 端口工作,但在尝试使用通过微控制器的集成 USB 外围设备连接的虚拟 COM 时,它会挂起。
当使用集成 USB 通过虚拟 COM 端口连接时,应用程序在第二次调用SerialPort.Write(...)
. 使用HHD Software 的串行监视器,我可以看到数据在第一次调用时传输到SerialPort.Write(...)
. 但是,目标设备永远不会接收到该数据。
这很奇怪,因为我在以前的项目中唯一一次看到类似问题是总线两侧的流量控制设置不匹配。
附加信息...
这是在运行通过集成 USB 外设连接到目标设备的 PC 应用程序时从各种端口监控工具捕获的数据。任何见解将不胜感激。
对于那些感兴趣的人,我正在使用 CodeWarrior 10.2 和飞思卡尔的 MCF51JM128。
任何想法或建议将不胜感激。谢谢。
c# - Windows 8 RT 上的 USB CDC
Windows 应用商店应用程序能否通过虚拟 COM 端口与 USB 连接的设备进行通信?
此类应用程序的框架是否包含 SerialPort 类?
如果没有,我可以通过什么其他方式在设备和应用程序之间建立连接?
所有这一切都假设 Classic Desktop 不可用。
java-me - Java ME 三重存储
我目前正在编写一个具有内部 OWL 推理引擎(Hermit & Pellet)并从后端服务器接收本体数据(传感器数据)的 Java ME 程序。有时,这些数据也由原始传感器数据和后端服务器上推理器的推理结果组成。推理只会在网络故障的情况下在移动设备上执行。
目前我缺乏一种存储后端数据以供进一步处理的好方法。我已经查找了 Triple Stores,但我想知道是否有任何适用于 Java ME 应用程序的好东西?
格茨
新
sql-server-2012 - SSIS CDC 控制任务
我正在对 SSIS CDC 组件的使用进行概念验证。
对于初始负载:到目前为止我得到的是
步骤 1:具有 CDC 控制操作的 CDC 控制任务为:标记初始加载开始步骤 2:将所有源记录加载到目标的数据流步骤 3:具有 CDC 控制操作的 CDC 控制任务为:标记初始加载结束(其余设置为CDC 在步骤 1)
当我第一次运行时......所有数据加载正常。如果运行相同...而不是选择无记录(源没有变化)...它会再次重新加载所有记录...复制。
这是否不检查在步骤 1 中创建的 CDC 状态表。
任何人都可以向我指出好的示例或教程会很棒。
sql-server - 在数据库或应用程序中进行审计
我需要审核企业 Web 应用程序中的修改操作(创建/删除/更新)。然后,用户可能需要查看特定实体(例如 Person)的更改历史来决定是否执行某项操作。
据我所知,它可以通过使用.NET 中的 log4net、nlog 等库来完成,或者可能还有其他我不知道的版本控制专用库。
或者它可以在数据库中完成,例如使用SQL Server 的更改数据捕获。
使用内置数据库解决方案似乎更有效,但问题是:
将应用程序的业务控制到数据库中,在软件工程方面是否正确?
sql-server - 更改数据捕获错误
我试图通过传递最小和最大日期来获得启用 CDC 的表的净变化。但是抛出错误。
我的代码如下:
从 sys.fn_cdc_map_time_to_lsn 获取的 from_lsn 和 to_lsn 是否与 cdc 表“员工”不匹配?
下面的代码工作正常;但它会从 min max lsn 获得所有净变化。
我需要的是获取给定日期的 cdc 实例的最小和最大 lsn,并获取该日期的净变化。有什么线索吗?
编辑:
当我在一堆表上启用时,这适用于第一个表。
前任:
这适用于 Employee 表。如果我更改启用 CDC 的顺序(如果我将商店列表放在首位,然后将员工放在下一个),那么它适用于员工列表。
macos - CDC Driver on MAC OS X - Device always busy
I am writing an application to control a Modem via USB Virtual COM port on Win7, WinXP, MAC OS X and Linux (command line) and I use as USB to serial converter (aka Virtual COM Port) a Freescale Kinetis K40 MCU. The firmware inside is using the CDC Class 02 declaration.
I can successfully run the Virtual COM port using the CDC Class on Win7 64Bit PC. There are some little communication problems related to buffers but I it's basically working. I connected the TX and the RX to an internal UART of the MCU and all works.
The problem raises when I try to use the Virtual COM port on MAC OS X. The device is recognized as "tty.usbmodemxxx" when I try to send/receive any byte it the ZTerm (used for testing purposes) returns me that the USB Port is busy/not available. I used my own tool and the FileDescriptor returns always -1 so it is not possible to access to it.
Then I tried to access to the device from the terminal using the "cat /dev/tty.usbmodemxxx" and also the "screen /dev/tty.usbmodemxxx" both are returning me Resource Busy.
If I use a FTDI USB to Serial Converter it all works fine ZTerm and my own application.
Again the tty.usbmodem device is recognized but the PORT is always busy/not available while the same code ran in stand alone on my proto board is working on Win7.
I have digged a bit more googling on the net and many user have problems with CDC Drivers on MAC OS X but the majoriry of them are claiming that their device is not connecting while mine is "Resource Busy"!
I tried to use the USB Prober from MACOSX logging at level 7 but there are tons of alerts in a sec so it becomes a bit hard to distinguish mines even if I am filtering.
Descriptors seems corret as 2 Devices are created CDC and CDC data but the device is permanently busy and every 2/3 secs there is a handleOpen from the OS that appearls to me like a polling on my device and I have the same behavior also with FTDI Chip so it cannot be it.
My suspect is that maybe the firmware inside the MCU is returning a Busy state to the OS but this seems not to be the case because on Win7 with CDC drivers all is working fine.
Anybody knows eventually how to understand why the device is busy, like is my device returning a false state or maybe the is a deamon took control of my device not releasing it!?**
Any help will be so appreciated!
Regards.
sql - 从变更数据捕获中排除特定更新
我有一个概念验证应用程序,它使用变更数据捕获监视其数据库的更改,并使用服务总线传输这些更改。应用程序还接收来自总线的通知并将这些更改提交到本地数据库。
问题是,当应用程序将更改提交到本地数据库时,更改会显示在 CDC 中,导致应用程序在总线上重新传输更改。
是否有可靠的方法从 CDC 中排除特定变更集?
如果可能,我想避免更改源表架构。